RE: [PHP-DEV] Streams Problems

From: Date: Sat, 12 Oct 2002 17:40:05 +0000
Subject: RE: [PHP-DEV] Streams Problems
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-89392@lists.php.net to get a copy of this message
Works for me using latest CVS. <?php $fp = fopen("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 that reproduces the problem, and the error output? --Wez. On 10/12/02, "Mike Robinson" <mike@mgrobinson.com> wrote: > 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.

« previous php.dev (#89392) next »