(PHP3 , PHP4 )
bool is_dir (string filename)
bool is_dir
Returns true if the filename exists and is a directory.
The results of this function are cached. See clearstatcache() for more details.
See also is_file() and is_link().