Hello mates!
I was wondering if anybody out there has some good ideas on how to sort files in a dir based on either the numerical filename or the date created/modified?
Using the helpful snippets at php.net I created a lil program that opens the dir and then uses a while loop to readdir(). It loops through the dir and reads each file and displays the contents in tables. I can't seem to get it to sort the files properly though.
Any thoughts on how to sort the string rather than dumping it into an array sorting it and then reading it back again? (note: not that i know how to do that either)
Sincerely Sam =)