On Monday 08 April 2002 22:15, Hiroshi Ayukawa wrote:
> 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
Manual > Filesystem functions
--
Jason Wong -> Gremlins Associates -> www.gremlins
Le lundi 8 avril 2002, à 04:15 PM, Hiroshi Ayukawa a écrit :
> Does anyone know how to check a directory exiasts?
RTFM !!
try this :
if (file_exists($dir) && is_dir($dir)) {
echo $dir.' is a directory !';
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
2 matches
Mail list logo