I'm trying to make a sort of blog with php and I want to include the 5 newest files in an other directory by modification time.
I can inculde them all one by one each time I have made a new file, but it would be nice if I can just include the newest 5.
Because i don't want to put the modification date in the file name I really don't know how to do it.
Is there a way to do that?