Re: Directory check
| From: | Rénald CASAGRAUDE | Date: | Mon, 08 Apr 2002 14:33:46 +0000 |
| Subject: | Re: Directory check | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92054@lists.php.net to get a copy of this message | ||
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 !'; }