note 68656 deleted from function.file-exists by nlopess
| From: | nlopess@php.net | Date: | Sun, 14 Jan 2007 18:02:07 +0000 |
| Subject: | note 68656 deleted from function.file-exists by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121633@lists.php.net to get a copy of this message | ||
Note Submitter: jana dot vasseru at gmail dot com
----
if it happens to you that file_exists($file_name) returns true even if the file does not exist (and
unlink gives warning 'permission denied' even if the file exists and is accessible) check
if you don't have an extra space at the end of the filename - does wonders sometimes.