Sockets -> PHP script problem
I have this simple plugin to test how to use POST in sockets.
Code:
Name: "wtk. Exolent[jNr]" SteamID: "STEAM_0:1:2058929" IP: "##.##.##.##" (get away from my IP :crab:) Log Results: Code:
L 10/19/2009 - 12:27:44: [upload_test.amxx] Sending data: "wtk%E2+Exolent%B5jNr%D5" "STEAM%F50%A31%A32058929" "##%E2##%E2##%E2##"PHP Code:
Code:
"" "" ""But the problem must be within the data being sent through the socket. |
Re: Sockets -> PHP script problem
I believe that _POST is used when gathering data from a form, whereas you would want _GET, which is instead used to gather data from a URL.
EDIT: You have hosting with styles, eh? |
Re: Sockets -> PHP script problem
Wait Amxx cURL :D
|
Re: Sockets -> PHP script problem
Can you give me an example of what to do?
I've done everything I can think of. I've used:
|
Re: Sockets -> PHP script problem
I use sockets to match steamid's with my website.
I use GET like you showed PHP Code:
|
Re: Sockets -> PHP script problem
Actually, there was a problem with my socket query.
I believe I was putting the host formatted into the wrong section. So instead of: Host: exolent.zinkhosting.net^n^n It was Host: IP.GOES.HERE.XD^n^n Anyway, everything works now. |
Re: Sockets -> PHP script problem
Just wondering: does _POST work for data sent by URL, as you've done? I suspect that, if it does, it would be unreliable elsewhere since a browser would handle all of the post/form data internally.
|
Re: Sockets -> PHP script problem
I don't know. I didn't test after I fixed my method with GET.
|
Re: Sockets -> PHP script problem
Quote:
Code:
POST /plugin_upload.php HTTP/1.0\n |
Re: Sockets -> PHP script problem
Quote:
|
| All times are GMT -4. The time now is 17:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.