note 70354 rejected from function.file-exists by nlopess

From: Date: Thu, 12 Oct 2006 18:26:27 +0000
Subject: note 70354 rejected from function.file-exists by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-118469@lists.php.net to get a copy of this message
Note Submitter: hrayr dot artunyan at gmail dot com ---- 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

« previous php.notes (#118469) next »