#21581 [Com]: CURL_EXEC CRASH WITH CURLOPT_FILE
| From: | patrick dot audemard at free dot fr | Date: | Tue, 14 Jan 2003 17:04:22 +0000 |
| Subject: | #21581 [Com]: CURL_EXEC CRASH WITH CURLOPT_FILE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30012@lists.php.net to get a copy of this message | ||
ID: 21581
Comment by: patrick.audemard@free.fr
Reported By: patrick.audemard@free.fr
Status: Closed
Bug Type: cURL related
Operating System: WINDOWS 2000
PHP Version: 4.3.0
New Comment:
Thanks a lot !!!
Previous Comments:
------------------------------------------------------------------------
[2003-01-14 09:54:20] iliaa@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
User reports that the latest snapshot works, closing.
------------------------------------------------------------------------
[2003-01-14 09:46:37] patrick.audemard@free.fr
Snaps php4-win32-STABLE-200301140130.zip works fine !
------------------------------------------------------------------------
[2003-01-11 09:22:12] patrick.audemard@free.fr
Modified to cURL related.
------------------------------------------------------------------------
[2003-01-11 08:15:54] patrick.audemard@free.fr
PHP 4.3.0 crash (php.exe or WEB server) when you use the example code
in PHP Manual. This bug was reported in version 4.2.3 (ID : 19301 ).
$ch = curl_init ("http://www.ebay.com");
$fp = fopen ("output/result.txt", "w");
curl_setopt ($ch, CURLOPT_FILE, $fp);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
curl_close ($ch);
fclose ($fp);
It's very easy to reproduce.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21581&edit=1