I need some sort of PHP function that will look through a directory of files for me and find the most recent. I guess its a kinda sort on the timestamp... I have no idea how to access timestamps or to sort them in PHP so any help would be appreciated? It's for a bespoke simple CMS system where no DB is available Cheers -Dan