Re: [PHP] Is Curl GZIP support broken?

2004-05-05 Thread Stuart
Dac Chartrand wrote: The following code used to work until i upgraded to 4.3.6 Code: --- // Get RSS feed $c = curl_init('http://www.vegguide.org/rss/feed.rss?all=1omit_hours=1'); curl_setopt($c, CURLOPT_ENCODING, 'gzip'); curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); curl_setopt($c,

Re: [PHP] Is Curl GZIP support broken?

2004-05-02 Thread Curt Zirzow
* Thus wrote Dac Chartrand ([EMAIL PROTECTED]): The following code used to work until i upgraded to 4.3.6 Code: --- // Get RSS feed $c = curl_init('http://www.vegguide.org/rss/feed.rss?all=1omit_hours=1'); curl_setopt($c, CURLOPT_ENCODING, 'gzip'); curl_setopt($c,

Re: [PHP] Is Curl GZIP support broken?

2004-05-02 Thread Dac Chartrand
Check curl_errno() and curl_error(). it sounds like there is a problem with your libcurl I'm not getting any errors using the above functions. Sample PHP code is available at: http://www.vegguide.org/plain/rss-code/get_and_parse_vegguide_rss_feed-php (Requires an account to be able to

Re: [PHP] Is Curl GZIP support broken?

2004-05-02 Thread Dac Chartrand
PS: I'm using w2k with apache. http://www.php.net/get/php-4.3.6-Win32.zip/from/a/mirror Check curl_errno() and curl_error(). it sounds like there is a problem with your libcurl Curt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is Curl GZIP support broken?

2004-05-02 Thread Curt Zirzow
* Thus wrote Dac Chartrand ([EMAIL PROTECTED]): Check curl_errno() and curl_error(). it sounds like there is a problem with your libcurl I'm not getting any errors using the above functions. Sample PHP code is available at:

Re: [PHP] Is Curl GZIP support broken?

2004-05-02 Thread Dac Chartrand
php simply calls the libcurl function and returns what libcurl came back with. There might be problem with the curl.dll your using. The curl.dll i am using is packaged with the binary distribution of PHP (i'm on windows), so if there is a problem with it, there's a problem with the PHP distro.