ID: 28262 Comment by: adamsbarker at hotmail dot com Reported By: dac514 at sympatico dot ca Status: Open Bug Type: cURL related Operating System: Windows 2000 PHP Version: 4.3.6 New Comment:
i sent exactly the same bug report a couple of days after u and just found your one - my one is at: http://bugs.php.net/bug.php?id=28298 there is a patch for the 4.3.6 version after a previous bug report almost a year ago (read my report for info), however i can't find one for the 5.xx version. Previous Comments: ------------------------------------------------------------------------ [2004-05-03 18:06:31] dac514 at sympatico dot ca 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 this bug report at http://bugs.php.net/?id=28262&edit=1