Re: Re: How to tell if the filepath exist or not before attempting to create a directory??

From: Date: Thu, 02 Dec 2004 18:51:23 +0000
Subject: Re: Re: How to tell if the filepath exist or not before attempting to create a directory??
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-203378@lists.php.net to get a copy of this message
Marek Kilimajer wrote: > Richard Lynch wrote: >> 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. Ya got me. In 4.3.9 it doesn't do that any more either. I'm getting old. It would be nice to document when it changed if anybody *does* know. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#203378) next »