#19557 [Csd]: file_exists() always returns false.

From: Date: Mon, 23 Sep 2002 15:19:38 +0000
Subject: #19557 [Csd]: file_exists() always returns false.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20118@lists.php.net to get a copy of this message
ID: 19557 User updated by: m.e.foster@sussex.ac.uk Reported By: m.e.foster@sussex.ac.uk Status: Closed Bug Type: Filesystem function related Operating System: Solaris 8 PHP Version: 4.2.3 New Comment: I have this built and installed now and it is indeed fixed in 4.2.4-dev. Roll on 4.2.4 Thankyou Previous Comments: ------------------------------------------------------------------------ [2002-09-23 10:05:14] edink@php.net It was fixed in 4.2.4-dev which can be downloaded at http://snaps.php.net/php4-STABLE-latest.tar.gz ------------------------------------------------------------------------ [2002-09-23 09:48:19] sniper@php.net 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.) ------------------------------------------------------------------------ [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

« previous php.bugs (#20118) next »