From: dac514 at sympatico dot ca Operating system: Windows 2000 PHP version: 4.3.6 PHP Bug Type: cURL related Bug description: PHP Binary version of Curl Broken
Description: ------------ This is a follow up to the (incorrectly marked) bogus Bug #28168. After discussing in the php.general newsgroup. I have come to the conclusion that the Windows binary distribution of PHP 4.3.6 includes a broken php_curl.dll The binary in question was obtained via: http://www.php.net/get/php-4.3.6-Win32.zip/from/a/mirror Reproduce code: --------------- http://www.vegguide.org/plain/rss-code/get_and_parse_vegguide_rss_feed-php (Requires an account to be able to download RSS data) The problem is the follwing 2 lines: curl_setopt($c, CURLOPT_ENCODING, 'gzip'); $data = curl_exec($c); Expected result: ---------------- $data should be a string. Actual result: -------------- $data is GZIP compressed binary data. NB: A user in the newsgroup reported that the code still works on Linux. Prior to 4.3.6 the above also used to work on Windows, it no longer does. -- Edit bug report at http://bugs.php.net/?id=28262&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28262&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28262&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28262&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28262&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28262&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28262&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28262&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28262&r=support Expected behavior: http://bugs.php.net/fix.php?id=28262&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28262&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28262&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28262&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28262&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28262&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28262&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28262&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28262&r=float