note 15415 added to function.fopen
| From: | magmax at demozone dot com | Date: | Sun, 09 Sep 2001 16:48:07 +0000 |
| Subject: | note 15415 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17847@lists.php.net to get a copy of this message | ||
when using fopen to open another webpage/file. is there anyway to set the HTTP_REFERER value.
sample:
http://www.domain.com/file.txt
but the www.domain.com only accepts files to be opened from it's own server.
and i would like to open the file from another server. so by setting the HTTP_REFERER to :
http://www.domain.com/index.html
it would belive that this file is beeing opened with the correct referer. and is alowed access.
solutions, or could this be a future feature in php 4.0.7 ?
http://www.php.net/manual/en/function.fopen.php