×
Home About Us Products Services News Free Scripts Contact
news php scripts and software

PHP example - How to check if a specified filename is a directory?


PHP - How to check if a specified filename is a directory?

For this  purpose you   may  use  the special php function, called is_dir, for example:
 
<?php
 
if(is_dir($YourFileName))
{
 
 ...
 
}
else
{
 
 ...
}
 
?>

Category: PHP

 
<< Go back