note 16490 deleted from function.file-exists by jimw

From: Date: Thu, 01 Nov 2001 20:01:10 +0000
Subject: note 16490 deleted from function.file-exists by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20014@lists.php.net to get a copy of this message
if you want to check whether a file exists relative to your location, it seems that you need to use './' and quotes eg. this logic would NOT work for me:<p></p> if(file_exists(folder1/file1.html)) whereas this would: if(file_exists("./folder1/file1.html"))

« previous php.notes (#20014) next »