The What
Description
This construct, file_exists
, checks the file or directory exists on the web server. If yes, then it returns TRUE
.
Parameters
filename
- The full qualified path to the file or directory to find.
Return Values
Returns TRUE
if the file or directory does exist; else you’ll get a FALSE
back.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
More coming soon…keep checking back.