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

curl-and-php

Re: Test cURL

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 17 Apr 2005 19:54:13 +0200 (CEST)

On Sun, 17 Apr 2005 mline_at_mail.ru wrote:

> curl_close($ch);

...

> echo curl_errno($ch) ."<br>";

> Warning: curl_errno(): 1 is not a valid cURL handle resource in

When you've closed the handle, you cannot use it anymore. Make sure you use
curl_errno() before you close $ch.

I guess.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-04-17