Publisher review:Check File Exists - php snippet that checks is file exists Check File Exists - php snippet that checks is file exists
Source Code
$filename = ''/path/to/foo.txt''; if (file_exists($filename)) { print "The file $filename exists"; } else { print "The file $filename does not exist"; } ?>
Check File Exists is a PHP script for Snippets scripts design by ScriptsForYou.
It runs on following operating system: Windows / Linux / BSD.
Operating system:Windows / Linux / BSD