Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C# WebClient

Name: DOMMIT FRONK 2013-02-27 18:12

I'm trying to send POST data with C# WebClient to a PHP file on my website, then get the http response.


                            WebClient client = new WebClient();
                            byte[] response = client.UploadValues
                            (
                                "http://blackoutgame.net/database/validate.php",
                                new NameValueCollection() { { "username", "test" }, { "password", "test" }, { "ingame", "True" } }
                            );


However, it keeps throwing a (500) Internal Server Error.

The only thing I could think to do was modify the file permissions in my cPanel, which I did, but to no avail.

Wat do?

Name: Anonymous 2013-02-27 18:16

Does this look like Stack Overflow to you?
Rewrite it in a real language.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List