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);


Expected result: ---------------- $data should be text. xml_parse($xml, $data) should be able to handle it.

Actual result:
--------------
$data is compressed gzip binaray data. I can't use it in this format.

What changed?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to