hi
i am looking for a method to find the last modified date of a directory. however, it seems that the filemtime etc functions only work on, um, files. so i wrote a function to recurse through the directory contents, adding all the filedates into an array. then, i thought, all i need to do is sort the date array and take the most recent date.
BUT - how do you sort by date? i can't believe there isn't a built in method for this in php - but i can't find it! a normal sort orders alphanumerically, while a natural sort orders... well, not in date order.
anyone got the solution to this rather simple problem?
please help - this is really starting to bug me now! many thanks in advance for any offers of support...