ID:               28262
 Updated by:       [EMAIL PROTECTED]
 Reported By:      dac514 at sympatico dot ca
-Status:           Open
+Status:           Closed
 Bug Type:         cURL related
 Operating System: Windows 2000
 PHP Version:      4.3.6
 New Comment:

This bug has been fixed in CVS.

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/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2004-05-10 06:14:00] adamsbarker at hotmail dot com

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.

------------------------------------------------------------------------

[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

Reply via email to