12-29-2008, 02:21 AM
|
#2 (permalink)
|
|
Wizard
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
|
Use the filetime function to get the unix timestamp of each file and the sort function to sort them.
ps. To get the extension for all files (including things like file.inc.ext), use sizeof(array)-1 to get the last chunk.
|
|
|
|