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

1) Does it work with the sample URL: http://www.vegguide.org/plain/sample.rss ? If yes, then I'm guessing the authentication cookie in the cookie_jar has expired.


2) Does it work using the CLI curl?

--
Stuart

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



Reply via email to