#19605 [NEW]: file_exists doesn't work with dirs!

From: Date: Wed, 25 Sep 2002 23:13:10 +0000
Subject: #19605 [NEW]: file_exists doesn't work with dirs!
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20371@lists.php.net to get a copy of this message
From: martin@honermeyer.de Operating system: Linux 2.4 PHP version: 4.2.3 PHP Bug Type: Filesystem function related Bug description: file_exists doesn't work with dirs! 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 bug report at http://bugs.php.net/?id=19605&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19605&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19605&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19605&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19605&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19605&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19605&r=support Expected behavior: http://bugs.php.net/fix.php?id=19605&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19605&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19605&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19605&r=globals

« previous php.bugs (#20371) next »