.NET POST to PHP Page
问题 I am trying to implement a very basic system from my C# .NET application that sends the IP address of the machine to authenticate.php on my web server. The php page will check this IP address against a database and either respond back with "yes" or "no". It has been a long time since I worked with PHP, and I am a little bit confused. Here is what my .NET function looks like. public static bool IsAuthenticated() { string sData = getPublicIP(); Uri uri = new Uri("http://www.mysite.com