Re: Is Curl GZIP support broken?

From: Date: Sun, 02 May 2004 18:43:41 +0000
Subject: Re: Is Curl GZIP support broken?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-185147@lists.php.net to get a copy of this message
* Thus wrote Dac Chartrand (dac514@hotmail.com): > 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=1&omit_hours=1'); > curl_setopt($c, CURLOPT_ENCODING, 'gzip'); > curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); > curl_setopt($c, CURLOPT_COOKIEFILE, $cookie_jar); > // *** This next line is the problem! *** > $data = curl_exec($c); > curl_close($c); Check curl_errno() and curl_error(). it sounds like there is a problem with your libcurl Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#185147) next »