note 22792 added to function.file-exists
| From: | greenjo27 at yahoo dot com | Date: | Sun, 30 Jun 2002 05:47:46 +0000 |
| Subject: | note 22792 added to function.file-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32432@lists.php.net to get a copy of this message | ||
Well, for some reason I was getting a variety of erros using file_exists() and is_file() on windows,
and only got a solution using something like, file_exists(sprintf ("users/%s.dbf", $name))
... Good ol' sprintf. (is_file() with sprintf also worked for me)
--
http://www.php.net/manual/en/function.file-exists.php
http://master.php.net/manage/user-notes.php?action=edit+22792
http://master.php.net/manage/user-notes.php?action=delete+22792
http://master.php.net/manage/user-notes.php?action=reject+22792