cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Retrieving the answer from HTTP-post

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 27 Oct 2009 23:57:05 +0100 (CET)

On Tue, 27 Oct 2009, Rogier van der Sluijs wrote:

> I'm using the http-post.c example to post passwords and usernames to my
> webserver, but I want to retrieve whether the person logged in or not, so I
> want to catch the return from the post.php script. How am I supposed to
> catch the data that post.php returns?

Read docs or (other) examples?

http://curl.haxx.se/libcurl/c/libcurl-tutorial.html
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTWRITEFUNCTION
http://curl.haxx.se/libcurl/c/getinmemory.html

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-27

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET