note 32657 deleted from function.file-exists by didou

From: Date: Tue, 10 Feb 2004 11:48:33 +0000
Subject: note 32657 deleted from function.file-exists by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-64945@lists.php.net to get a copy of this message
Note Submitter: abandonedsoul@msn.com ---- If you want to check for a file or directory in the current directory, you should be able to use the following: if (is_file("./filename.ext")) { print "true"; } This should fix the problem that users are posting relating to Apache and Windows, rather than using getcwd().

« previous php.notes (#64945) next »