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