#19605 [Opn->Csd]: file_exists doesn't work with dirs!

From: Date: Wed, 25 Sep 2002 23:24:46 +0000
Subject: #19605 [Opn->Csd]: file_exists doesn't work with dirs!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20374@lists.php.net to get a copy of this message
ID: 19605 Updated by: iliaa@php.net Reported By: martin@honermeyer.de -Status: Open +Status: Closed Bug Type: Filesystem function related Operating System: Linux 2.4 PHP Version: 4.2.3 New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. For the 995th time, PLEASE do not open more bug reports about the file_exists issue on Multithreaded servers and PHP 4.2.3. It is a known bug and it was already fixed in the CVS. Previous Comments: ------------------------------------------------------------------------ [2002-09-25 18:13:10] martin@honermeyer.de In my setup with Apache 2.0.40 and PHP 4.2.3, file_exists() always returns FALSE when called with a directory name as argument! I have to use is_dir() as an alternative. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19605&edit=1

« previous php.bugs (#20374) next »