note 41849 added to function.fopen
| From: | dmitrijs at klase dot lv | Date: | Fri, 23 Apr 2004 16:14:58 +0000 |
| Subject: | note 41849 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68676@lists.php.net to get a copy of this message | ||
This may be not new to someone, but I found a workaround for "Bad file descriptor" error
upon opening a remote file via HTTP protocol (problem faced only under Windows O/S.)
Always use an IP address instead of a domain name in order for script not to fail! That's it.
----
Manual Page -- http://www.php.net/manual/en/function.fopen.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41849
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41849&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41849&report=yes
Search -- http://master.php.net/manage/user-notes.php