note 13502 added to function.file.php

From: Date: Tue, 19 Jun 2001 16:54:25 +0000
Subject: note 13502 added to function.file.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14446@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 http://www.php.net/manual/en/function.file.php

« previous php.notes (#14446) next »