note 30928 added to function.file-exists
| From: | your dot friend at gmx dot info | Date: | Thu, 03 Apr 2003 16:08:52 +0000 |
| Subject: | note 30928 added to function.file-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46172@lists.php.net to get a copy of this message | ||
regarding function url_exists() from river att clacks dott org.
This does only work with plain reachable urls, as it only checks the return code "200".
But what about all the "3xx" codes, see also http://www.cknow.com/ckinfo/def_h/httpreturncodes.shtml.
Another fine thing would be to have a function returning the changed location so one can update it
e.g. in a database.
I think i will create one and post here.
--
http://www.php.net/manual/en/function.file-exists.php
http://master.php.net/manage/user-notes.php?action=edit+30928
http://master.php.net/manage/user-notes.php?action=delete+30928
http://master.php.net/manage/user-notes.php?action=reject+30928