I need to list the files in a directory in order of when they were created. Any ideas? I have no problem listing them; the ordering is my issue. Thanks!
Hello, You can glob() the files, and stat() them to get the access/modified details as you require. From here, store these in an array (i.e. modified-timestamp => filename), and sort the arraying using PHP, and foreach to output it. Hope this helps, Jay
I just can't get the arrays to work right....arrays in PHP always confuse me...lol.... Anyway.. does anybody have a snippet of code that lists files by last modified?? Thanks!