[thelist] PHP directory sort by date
Daniel Fascia
danfascia at totalise.co.uk
Wed Jan 22 07:33:19 CST 2003
Trying to scan a directory and its subdirs for all files and grab them into an
array ordered by time and date <phew!!>
Can anybody shed light on the best approach??
Ive considered two options but both seem difficult to implement:
1) using the dir() class and praying it spits out results in date order
2) using readdir() and then making a date sort function for the array I store.
But god only knows how to write a date sort function...
Help!!!
------------------------
- Daniel Fascia -
18 Gayfield Sq,
Edinburgh,
EH13NX
+447971541842 (mobile)
------------------------
More information about the thelist
mailing list