Scott Fletcher wrote:
Never mind that.. I found a different way to use it. It would be so cool if there is such a feature as directory_exists() to check for partical filepath...
http://php.net/file_exists
You'll need to use @ in front, because it generates an error message when it doesn't find the file you're not sure exists. :-(
What version? On 5.0.2 file_exists('nonexistingfile'); does not generate any error message.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php