well i still cant seem to get around it at all
the server im sending the POST request is Apache
I read somewhere that the Server will wait if I actually just send up to Content-Length: 10\r\n\r\n...
Type: Posts; User: Overtaker
well i still cant seem to get around it at all
the server im sending the POST request is Apache
I read somewhere that the Server will wait if I actually just send up to Content-Length: 10\r\n\r\n...
Hi
thanks for the replies
I tried
fprintf(http->file, "POST /index.php HTTP/1.1\r\n");
fprintf(http->file, "Host: www.yourhost.com\r\n");
fprintf(http->file, "Content-Type:...
sorry I don't get it, what is cr-lf ?
is it supposed to be like this ?
fprintf(http->file, "Content-Length: 10\r\n");
fprintf(http->file, "name=kkkkk\r\n\n");
Hi Im trying to send a HTTP POST Request data content to a server using C socket
Everything seemed to work fine except this part
http->file is file pointer to an open socket
the page...