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

curl-and-php

Re: php-function

From: Dave Withnall <withnall_at_connexus.net.au>
Date: Wed, 11 Jun 2003 12:42:11 +1000

Use curl_setopt($ch, CURLOPT_WRITEHEADER, $fp) where $fp is a file pointer.
more details are available here http://www.php.net/manual/en/function.curl-
setopt.php

On Tue, 10 Jun 2003 15:31:02 +0200 (CEST), Bart Steger
<bartsteger_at_pandora.be> wrote:

> Hello
>
> In my bash-program I have used cURL commandline-tool with the option "-D"
> and then the filename where cURL will dump the headers! (e.g. curl -D
> httpdump http://www.mijnurl.be)
>
> Now, I want to do the same thing in php! Does anyone know such an equal
> php-function ?
>
> Thanks
>
> Bart
> bartsteger_at_pandora.be
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
>
>
>

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
Received on 2003-06-11