Raised This Month: $ Target: $400
 0% 

Sockets -> PHP script problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 10-20-2009 , 19:27   Re: Sockets -> PHP script problem
Reply With Quote #1

Quote:
Originally Posted by Hawk552 View Post
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.
This is the correct format for POST

Code:
POST /plugin_upload.php HTTP/1.0\n
User-Agent: HTTPTool/1.0\n
Content-Type: application/x-www-form-urlencoded\n
Content-Length: 512\n
\n
name=SomeName&authid=SomeId&reason=SomeText
You must be sure to put the correct Content-Length to avoid compatbility problems with web servers.
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.
joropito is offline
Send a message via MSN to joropito
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode