With this short codesnippet you can easily check if a file exists on your server.
Files and related
Check if files exists
Saturday, May 22nd, 2004List all files in a directory
Saturday, May 22nd, 2004With this codesnippet you can very easily list all the files in a directory, effectively creating a web-based filemanager (if you extend it with other functions).
Get current datestamp
Friday, April 2nd, 2004With this function you can easily retrieve the current date stamp. Very useful for comparing it with data from a MySQL database.
Filename safe
Thursday, March 18th, 2004Use this very handy codesnippet to automatically create a filename from a string. It removes all invalid characters and changes them into a ‘_’.