note 10836 added to file
| From: | Andrew dot Nappin at espotting dot net | Date: | Tue, 23 Jan 2001 12:10:40 +0000 |
| Subject: | note 10836 added to file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10176@lists.php.net to get a copy of this message | ||
i've been trying the following...
$url = 'http://someaddress.com/file?input';
$xml = join('', file($url));
and it works fine to a point, this point being when the url is of a page that redirects....
how can i get this to work with redirection????
Can php (file, fopen, etc.) work with redirection... and if not WHY NOT!!!
thanks in advance
Andrew
http://www.php.net/manual/en/function.file.php