note 68656 added to function.file-exists

From: Date: Sat, 05 Aug 2006 13:38:59 +0000
Subject: note 68656 added to function.file-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-115567@lists.php.net to get a copy of this message
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. ---- Server IP: 212.24.129.110 Probable Submitter: 81.27.200.150 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.file-exists.php Edit -- https://master.php.net/note/edit/68656 Del: integrated -- https://master.php.net/note/delete/68656/integrated Del: useless -- https://master.php.net/note/delete/68656/useless Del: bad code -- https://master.php.net/note/delete/68656/bad+code Del: spam -- https://master.php.net/note/delete/68656/spam Del: non-english -- https://master.php.net/note/delete/68656/non-english Del: in docs -- https://master.php.net/note/delete/68656/in+docs Del: other reasons-- https://master.php.net/note/delete/68656 Reject -- https://master.php.net/note/reject/68656 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#115567) next »