Returning a list of files contained in a folder in PHP is turned into something fairly trivial, thanks to the built in readdir function. Basically,...