Re: How to tell if the filepath exist or not before attempting to create a directory??
| From: | Scott Fletcher | Date: | Wed, 01 Dec 2004 20:11:25 +0000 |
| Subject: | Re: How to tell if the filepath exist or not before attempting to create a directory?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203257@lists.php.net to get a copy of this message | ||
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...
Scott
"Scott Fletcher" <scott@abcoa.com> wrote in message
news:20041201194310.4794.qmail@pb1.pair.com...
> I'm wondering how to tell if the filepath exist or not, that way, I don't
> create the directory if the filepath exist.
>
> I thought that the is_dir() is the way to go but found that it is not
> reliable.
>
> Thanks,
> Scott