skwap Posted December 29, 2011 Share Posted December 29, 2011 Hello Coder Guys, I need a small help from you. I want to list all files & directories based on last file modification time of server. I want to list new files as first & old files as last. Consider "files" as the directory name which contains all files & directories. Please make the php code to display all files & directories from "files" directory based on last file modification time of server. Thanks IN Advance ! Quote Link to comment https://forums.phpfreaks.com/topic/254006-list-files-based-on-last-modification-time/ Share on other sites More sharing options...
SergeiSS Posted December 29, 2011 Share Posted December 29, 2011 "Please make the code" costs some $$$... An advice costs nothing. Read this, it might helps you: http://ru2.php.net/manual/en/book.dir.php Quote Link to comment https://forums.phpfreaks.com/topic/254006-list-files-based-on-last-modification-time/#findComment-1302133 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.