note 70354 added to function.file-exists

From: Date: Thu, 12 Oct 2006 18:23:28 +0000
Subject: note 70354 added to function.file-exists
Groups: php.notes 
Request: Send a blank email to php-notes+get-118468@lists.php.net to get a copy of this message
If the filename is 246 characters long or longer, file_exists($filename); will return true even though the file may not exist. For example: <?php $filename = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa..." // 246 characters long or longer echo file_exists($filename); // will return 1 even though this file does not exist ?> I'm using version 5.1.4 ---- Server IP: 216.194.113.175 Probable Submitter: 72.25.72.125 ---- Manual Page -- http://www.php.net/manual/en/function.file-exists.php Edit -- https://master.php.net/note/edit/70354 Del: integrated -- https://master.php.net/note/delete/70354/integrated Del: useless -- https://master.php.net/note/delete/70354/useless Del: bad code -- https://master.php.net/note/delete/70354/bad+code Del: spam -- https://master.php.net/note/delete/70354/spam Del: non-english -- https://master.php.net/note/delete/70354/non-english Del: in docs -- https://master.php.net/note/delete/70354/in+docs Del: other reasons-- https://master.php.net/note/delete/70354 Reject -- https://master.php.net/note/reject/70354 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118468) next »