Experimental CURL support in CVS
| From: | Sterling Hughes | Date: | Sun, 16 Jul 2000 19:55:52 +0000 |
| Subject: | Experimental CURL support in CVS | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24683@lists.php.net to get a copy of this message | ||
Hi,
I just added experimental CURL support into the latest CVS. The reason
it is experimental is that there are a few problems, while it does compile
and work, when you use the CURL functions the PHP script does not stop
execution (I've observed) after everything is done:
<?php
$ch = curl_init ();
curl_setopt ($ch, CURLOPT_URL, "http://www.php.net/index.php");
curl_exec ($ch);
curl_close ($ch);
?>
Whereas a simpler script works fine:
<?php
print "test";
?>
....
In this same vein, when run PHP in CGI mode with CURL and I have the
Progress monitor running, the progress monitor actually increments on its
own, even though the standard PHP output isn't changing the progress monitor
is.
Does anyone know why CURL seems to be running forever?
-Sterling