I have a .NET Winforms application that regularly posts to a PHP page.
Till a few days back this worked perfectly. However, now, on certain
machines, after the data is sent to the server, the server reports
that no data is present. The code still works on my development
machine.
All the machines I'm using are Windows XP SP2 machines. Using .NET
Framework 1.1.
The mechanism I'm using is webclient.UploadValues.
>From a post I read, I enabled the PHP script to use UTF-8 (fromphp.ini)
On the same line, I've added code to send the content headers as
below:
webClient.Headers.Add("Content-Type", "application/x-www-form-
urlencoded");
webClient.Headers.Add("CharSet", "UTF-8");
also, but to no avail.
What could be the problem? I would really appreciate a solution to
this problem as it is driving me nuts!
Thanks in advance,
Regards,
--Jaffar