#21581 [Opn]: CURL_EXEC CRASH WITH CURLOPT_FILE

From: Date: Tue, 14 Jan 2003 15:46:38 +0000
Subject: #21581 [Opn]: CURL_EXEC CRASH WITH CURLOPT_FILE
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-30005@lists.php.net to get a copy of this message
ID: 21581 User updated by: patrick.audemard@free.fr Reported By: patrick.audemard@free.fr Status: Open Bug Type: cURL related Operating System: WINDOWS 2000 PHP Version: 4.3.0 New Comment: Snaps php4-win32-STABLE-200301140130.zip works fine ! Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#30005) next »