note 106757 added to function.file-exists
| From: | destruk at gmail dot com | Date: | Sun, 04 Dec 2011 22:32:11 +0000 |
| Subject: | note 106757 added to function.file-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184893@lists.php.net to get a copy of this message | ||
file_exists will report false on a windows machine with html special characters/html entities
encoded into the filename - ie
echo file_exists("c:/hello & goodbye.txt";
will produce a "false" result.
----
Server IP: 69.147.83.197
Probable Submitter: 75.71.134.253
----
Manual Page -- http://www.php.net/manual/en/function.file-exists.php
Edit -- https://master.php.net/note/edit/106757
Del: integrated -- https://master.php.net/note/delete/106757/integrated
Del: useless -- https://master.php.net/note/delete/106757/useless
Del: bad code -- https://master.php.net/note/delete/106757/bad+code
Del: spam -- https://master.php.net/note/delete/106757/spam
Del: non-english -- https://master.php.net/note/delete/106757/non-english
Del: in docs -- https://master.php.net/note/delete/106757/in+docs
Del: other reasons-- https://master.php.net/note/delete/106757
Reject -- https://master.php.net/note/reject/106757
Search -- https://master.php.net/manage/user-notes.php