cURL / Mailing Lists / curl-and-php / Single Mail


Re: Getting the http headers into a separate variable

From: Daniel Stenberg <>
Date: Sat, 22 Jul 2006 20:04:10 +0200 (CEST)

On Fri, 21 Jul 2006, Kenneth Andresen wrote:

> I am trying to obtain both the header data and the content of a curl request
> using the following function:

One way to do it is to use the callback approach as in this example:

  Commercial curl and libcurl Technical Support:
Received on 2006-07-22