Is there a PHP script for giving a true/false value for files in a folder?

hunter

New member
I want a php script that tells me IF there is one or more files in a folder.
Like if there is 1 file or more (.txt),
it says "File is in folder"
if there IS NOT a file in the folder can it say
"There are no files"
Please I need this very quickly! thanks!
 
Back
Top