Im not sure if this is related, but using fopen or fsockopen
to retrieve a document that sends a redirect header (in this
case a 302 Moved Permanently trying to pull the slashdot
headlines rdf/xml file) fails. Worked fine in 4.2.3. This is
the case with 4.3.0pr1 and CVS for a little while now.
Re
n/slash.php on line 2
>
> Regards
> Mike Robinson
>
>
> > -Original Message-
> > From: Wez Furlong [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, October 12, 2002 1:40 PM
> > To: Mike Robinson
> > Cc: [EMAIL PROTECTED]; 'We
Works for me using latest CVS.
http://site.that.redirects";, "r");
fpassthru($fp);
var_dump(stream_get_meta_data($fp));
?>
The var_dump shows that PHP is following the redirects.
There used to be a bug like that, but it's been fixed for a couple
of weeks now.
How about posting a script th
on
> Cc: [EMAIL PROTECTED]; 'Wez Furlong'
> Subject: RE: [PHP-DEV] Streams Problems
>
>
> Works for me using latest CVS.
>
> $fp = fopen("http://site.that.redirects";, "r");
>fpassthru($fp);
>var_dump(stream_get_meta_data($fp));
>