note 20215 added to function.file-exists
| From: | salchicha at cable dot net dot co | Date: | Tue, 26 Mar 2002 19:05:10 +0000 |
| Subject: | note 20215 added to function.file-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28242@lists.php.net to get a copy of this message | ||
For Windows you have to do this:
function fileExists($filename) {
return file_exists(getcwd() . "\\" . $filename);
}
Apparently, Windows has something with the filenames so you have to write them out as Windows would
have them.
--
http://www.php.net/manual/en/function.file-exists.php
http://master.php.net/manage/user-notes.php?action=edit+20215
http://master.php.net/manage/user-notes.php?action=delete+20215
http://master.php.net/manage/user-notes.php?action=reject+20215