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

curl-and-php

Re: cant get curl_setopt & CURLOPT_STDERR to work

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Jun 2003 12:18:14 +0200 (CEST)

On Fri, 30 May 2003, Kevin Lowe wrote:

> However this code just keeps writing a zero bytes error.log regardless of
> success of failure (only showing relevent statements here),
>
> $error_FH = fopen("error.log","w");
> curl_setopt ($ch,CURLOPT_STDERR, $error_FH );
> fclose($error_FH);
>
> I'm usung PHP 4.2.2/libcurl 7.9.8 on FreeBSD 4.6 and curl_error ($ch) &
> curl_errno ($ch) return the expected results.

Sounds like a bug to me.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-02