#19557 [Bgs->Opn]: file_exists() always returns false.

From: Date: Mon, 23 Sep 2002 14:14:01 +0000
Subject: #19557 [Bgs->Opn]: file_exists() always returns false.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20111@lists.php.net to get a copy of this message
ID: 19557 Updated by: tal@php.net Reported By: m.e.foster@sussex.ac.uk -Status: Bogus +Status: Open Bug Type: Filesystem function related Operating System: Solaris 8 PHP Version: 4.2.3 New Comment: Oops... gotta read those reports before bogusing... Previous Comments: ------------------------------------------------------------------------ [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 (#20111) next »