note 45582 deleted from function.get-headers by nlopess
| From: | nlopess@php.net | Date: | Wed, 15 Sep 2004 08:36:17 +0000 |
| Subject: | note 45582 deleted from function.get-headers by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-76726@lists.php.net to get a copy of this message | ||
Note Submitter: lucisandor at gmail doot com
----
The function get_headers does not return an array, but NULL, if the server does not exist or if the
header is anything else but "200 OK". Hence, one cannot test if a file does exist, testing
against the headers retrieved.