From:             [EMAIL PROTECTED]
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

Reply via email to