How to tell if the filepath exist or not before attempting to create a directory??
| From: | Scott Fletcher | Date: | Wed, 01 Dec 2004 19:40:02 +0000 |
| Subject: | How to tell if the filepath exist or not before attempting to create a directory?? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-203247@lists.php.net to get a copy of this message | ||
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