note 10731 deleted from function.fopen by sniper
| From: | sniper@php.net | Date: | Sat, 27 Jul 2002 20:58:17 +0000 |
| Subject: | note 10731 deleted from function.fopen by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-33714@lists.php.net to get a copy of this message | ||
Here is a fopen("http://...","r")
tip that costs me an hour:If the file you want to open via HTTP does not allow anonymous access,
fopen("http://...","r") will fail.
I tried to fopen("http://...","r")
a file on one of my internal servers that does not allow anonymous access and PHP always returnd an
"Error 0". If I change the server setting to allow anonymous access it works fine.
Note:It's a Windows2000/IIS 5 server.