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

Pages: 1-

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.

Name: Anonymous 2013-02-27 18:17

noko
Back to the ima/g/ereddits, please..

Name: Anonymous 2013-02-27 18:18

>>2

lol.

0/10

Name: Anonymous 2013-02-27 18:19

You are all mentally challenged.

You are shit programmers.

You are shit coders.


You are shit people.

Unplug computer.

Throw it out.

Kill self.

</life>

Name: Anonymous 2013-02-27 18:27

>>5
Too frustrated? That's a shame. This is a discussion board, not a Q&A.

Name: Anonymous 2013-02-27 18:28

>>6

This was meant for OP and everyone like OP. You have made this board a shitfest of epic proportions.

Name: Anonymous 2013-02-27 18:41

>>7
Oh right, I thought you were >>1 addressing /porn/. Carry on.

Name: Anonymous 2013-02-27 18:46

>>8
Even if he were, why would you care? That's as stupid as taking the Jewvascript troll seriously.

Name: Anonymous 2013-02-27 19:36

>>9
You misunderstand. I thought I'd try provoking him, which is usually fun.

Name: Anonymous 2013-02-27 19:45

>>10
(define (hbt x) (hbt (cdr (hbt (hbt (x))))))
(hbt /prog/)

Name: >>10 2013-02-27 19:48

Yes, I mean WHBT.

Name: Anonymous 2013-02-27 23:53

Fix your PHP code so it stops generating a 500 response on that input

Name: Anonymous 2013-02-28 9:12

>>11
You are an angry kid, aren't you?

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