note 20215 deleted from function.file-exists by sniper
| From: | sniper@php.net | Date: | Sun, 23 Nov 2003 01:28:29 +0000 |
| Subject: | note 20215 deleted from function.file-exists by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60845@lists.php.net to get a copy of this message | ||
Note Submitter: salchicha@cable.net.co
----
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.