How can you 'POST' to a page with sockets?
$sent_str = "POST /ec/sock.php HTTP/1.0\n\nvar=hi";
but I couldn't get a response. I have been able to get responses just fine with the GET method. Basically I am asking what a POST header looks like.
Check the RFC's for HTTP.
The content of the post is in the body of the message.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.