Trying to use cURL post-callback.c for http form submision?

Check out this great intro to the HTTP protocol: jmarshall.com/easy/http/#postmethod You'll need to send a POST command to the HTTP server, and then examine the server's response. I created a PHP file on my webserver called post. Php, and all it does is print_r($_POST) Now I'll post some data to it via Telnet: justin:~ justin$ telnet localhost 80 Trying ::1... Connected to localhost.

Escape character is '^'. POST /~justin/post. Php HTTP/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: 36 key1=value1&key2=value2&key3=value3 And examine the server's response: HTTP/1.1 200 OK Date: Sat, 17 Oct 2009 06:39:02 GMT Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 PHP/5.3.0 X-Powered-By: PHP/5.3.0 Set-Cookie: ZDEDebuggerPresent=php,phtml,php3; path=/ Content-Length: 81 Connection: close Content-Type: text/html Array ( key1 => value1 key2 => value2 key3 => value3 ) Server says "HTTP/1.1 200 OK", so it worked Now, as for the cURL example, you need to package up a similar POST command into a string (which of course is an array of chars, in C).

If you're new to working with strings in C, look online for examples, you'll find lots.

Check out this great intro to the HTTP protocol: jmarshall.com/easy/http/#postmethod You'll need to send a POST command to the HTTP server, and then examine the server's response. I created a PHP file on my webserver called post. Php, and all it does is print_r($_POST); Now I'll post some data to it via Telnet: justin:~ justin$ telnet localhost 80 Trying ::1... Connected to localhost.

Escape character is '^'. POST /~justin/post. Php HTTP/1.0 Content-Type: application/x-www-form-urlencoded Content-Length: 36 key1=value1&key2=value2&key3=value3 And examine the server's response: HTTP/1.1 200 OK Date: Sat, 17 Oct 2009 06:39:02 GMT Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 PHP/5.3.0 X-Powered-By: PHP/5.3.0 Set-Cookie: ZDEDebuggerPresent=php,phtml,php3; path=/ Content-Length: 81 Connection: close Content-Type: text/html Array ( key1 => value1 key2 => value2 key3 => value3 ) Server says "HTTP/1.1 200 OK", so it worked.

Now, as for the cURL example, you need to package up a similar POST command into a string (which of course is an array of chars, in C). If you're new to working with strings in C, look online for examples, you'll find lots.

Can you talk to me how to compile post-callback. C? I'm stuck in compile post-callback.

C .

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions