Is there a way to select only the last file in a directory (with the extensions jpg|png|gif
?)
Or do I have to parse the entire directory and check using filemtime
?
Is there a way to select only the last file in a directory (with the extensions jpg|png|gif
?)
Or do I have to parse the entire directory and check using filemtime
?