note 14475 deleted from function.readfile by nicos
| From: | nicos@php.net | Date: | Wed, 11 Sep 2002 20:51:19 +0000 |
| Subject: | note 14475 deleted from function.readfile by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36534@lists.php.net to get a copy of this message | ||
<p>When reading files over the Web (i.e., when the filename is a URL), this function gives
some funny error messages which confused me at first.</p><p>Warning: [URL] - bad file
descriptor means the host doesn't exist or didn't accept the
connection.</p><p>Warning: [URL] - Transport endpoint is not connected means the
connection was opened but server's response was not legitimate (e.g., server closed connection
without sending data).</p><p>Warning: [URL] - Success means the server responded
something like "forbidden" or "page not found" (403).</p>