note 26561 rejected from function.file-exists by victor

From: Date: Tue, 05 Nov 2002 06:14:49 +0000
Subject: note 26561 rejected from function.file-exists by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38980@lists.php.net to get a copy of this message
It appears that the file_exists() function is case insensive (atleast with Redhat), which on linux is somewhat strange given you can have two files of the same 'name' but different cases. Thus, you need to use is_readable() instead/as well, as this is case insensitive.

« previous php.notes (#38980) next »