Syntax
bool is_dir(file_name);
Code
<?php
echo "is this
directory".is_dir("c:/rose1");
echo "<br>is
this directory".is_dir("c:/rose1/ram.txt");
?>
Output
is this directory1
is this directory
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.