note 35878 added to function.fopen
| From: | styx at reflex dot at | Date: | Wed, 17 Sep 2003 21:48:40 +0000 |
| Subject: | note 35878 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-56658@lists.php.net to get a copy of this message | ||
fopen seems to have troubles with VHosts.
fopen("http://my.server/something/else.swf","rb")
gets away with WARNING: ... Success,
the problem is that it does NOT ask for http://my.server/ with
according GET and HOST, BUT
http://my-server-ip/, at least at localhost, which inevitable
leads to a 404.
----
Manual Page -- http://www.php.net/manual/en/function.fopen.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35878
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35878&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35878&report=yes