curl-library
Re: How to recieve header and body text into string buffer without printout
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 16 Oct 2008 23:38:20 -0700
Date: Thu, 16 Oct 2008 23:38:20 -0700
On Fri, Oct 17, 2008 at 03:25:27PM +0900, ¼±¤È£ wrote:
> hi. all..
> i am writing some app with libcurl
> unfortunately, i am not a good programmer.
> i have stopped because of small problem.
> here are my partial source codes.
> i want to header and body text not to be printed out.
> help me..
You don't show the rest of your program, but if you have logging turned on
you'll also get output. You can also set CURLOPT_HEADER to 0 to avoid
having to set a header callback function. Try taking a look at some of
the example programs that already take care of the output, like
getinmemory.c
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-10-17