#19557 [Opn->Fbk]: file_exists() always returns false.
| From: | sniper@php.net | Date: | Mon, 23 Sep 2002 14:48:19 +0000 |
| Subject: | #19557 [Opn->Fbk]: file_exists() always returns false. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20114@lists.php.net to get a copy of this message | ||
ID: 19557
Updated by: sniper@php.net
Reported By: m.e.foster@sussex.ac.uk
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Solaris 8
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Works here with the latest CVS HEAD. (I don't have 4.2.3 installed so
can't test if this was fixed or not.)
Previous Comments:
------------------------------------------------------------------------
[2002-09-23 09:14:01] tal@php.net
Oops...
gotta read those reports before bogusing...
------------------------------------------------------------------------
[2002-09-23 09:12:15] tal@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-09-23 09:06:40] m.e.foster@sussex.ac.uk
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 this bug report at http://bugs.php.net/?id=19557&edit=1