[PHP] ordering images by date
I have a basic php thumbnail program that grabs my thumbs out of a ../images/thumb folder inside my image folder. the code uses thumbs named the same as the full scale images in the parent directory.
The php takes care of building a table and arranging the thumbs into the table for which i can define the amount of colums and rows.
Recently I've taken an interest and developed a need to have these thumbs placed in date order instead of alphabetical order as they currently are.
I assume the *nix files system is just sticking them in alpha order as there is no php code currently dictating the order of the thumbs. It justs uses the order in which it reads them from the directory.
Now is there any code or resources that i could use (actual code is prefferable as it would then work on any computer) that would tell the basic thumbnail program to place the images in the user defined table in date order?
__________________
Seen on an employer evaluation:
"The wheel is turning but the hamsters dead"
____________________________
Is arch13 really a porn diety ? find out after the film at 11.
-Nanofever
|