#19557 [NEW]: file_exists() always returns false.
| From: | m dot e dot foster at sussex dot ac dot uk | Date: | Mon, 23 Sep 2002 14:06:40 +0000 |
| Subject: | #19557 [NEW]: file_exists() always returns false. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-20109@lists.php.net to get a copy of this message | ||
From: m.e.foster@sussex.ac.uk
Operating system: Solaris 8
PHP version: 4.2.3
PHP Bug Type: Filesystem function related
Bug description: file_exists() always returns false.
The following code, in a file called "test.php" will only
ever print "is_file OK".
This is rather a large flaw?
<?php
if (file_exists('test.php'))
echo "file_exists OK";
if (is_file('test.php'))
echo "is_file OK";
?>
--
Edit bug report at http://bugs.php.net/?id=19557&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19557&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19557&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19557&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19557&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19557&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19557&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19557&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19557&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19557&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19557&r=globals