is_file
It checks whether the filename is a regular file
Example
<?php
echo is_file(‘test.txt’)?”Yes”:”No”;
?>
Output
Yes
Beginner's Guide....
It checks whether the filename is a regular file
Example
<?php
echo is_file(‘test.txt’)?”Yes”:”No”;
?>
Output
Yes