PHP is_dir May 12, 2012 Pramod T P It checks whether the filename is a directory Example <?php echo is_dir(‘test.txt’)?”Yes”:”No”; ?> Output No