(PHP 3, PHP 4 >= 4.0.0)
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.
Viz také is_file() and is_link().