Re: Directory check
| From: | Michael Virnstein | Date: | Mon, 08 Apr 2002 14:22:02 +0000 |
| Subject: | Re: Directory check | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92050@lists.php.net to get a copy of this message | ||
file_exists will perform a check if the file, no matter if it's a directory,
a regular file or a symlink.
if you want to know if it is a directory use
is_dir($file)
or refer to the php manual"Hiroshi Ayukawa" <ayu@e-fukuoka.co.jp> schrieb im
Newsbeitrag news:80C1DF07CB9529.ayu@e-fukuoka.co.jp...
> Does anyone know how to check a directory exiasts?
>
> Thanks in advance,
> Hiroshi Ayukawa
> http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top
>