note 13502 deleted from function.file by jimw

From: Date: Sat, 08 Dec 2001 22:08:03 +0000
Subject: note 13502 deleted from function.file by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22275@lists.php.net to get a copy of this message
It looks like the file() method, when used with an HTTP URL, does not know how to handle a redirect (HTTP response code 302). If the page has been relocated, the file() will return with a null value. This is painful for a couple of reasons, but I don't have a very good work-around at this point (besides using an external progam like 'wget'). -jason

« previous php.notes (#22275) next »