Files and related Codesnippets
Check if files exists
With this short codesnippet you can easily check if a file exists on your server.
List all files in a directory
With 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
With this function you can easily retrieve the current date stamp. Very useful for comparing it with data from a MySQL database.
Filename safe
Use this very handy codesnippet to automatically create a filename from a string. It removes all invalid characters and changes them into a '_'.