note 22792 deleted from function.file-exists by sniper
| From: | sniper@php.net | Date: | Sun, 23 Nov 2003 01:28:25 +0000 |
| Subject: | note 22792 deleted from function.file-exists by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60843@lists.php.net to get a copy of this message | ||
Note Submitter: greenjo27@yahoo.com
----
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)