Arrange files by creation or modification with PHP -


Is it possible to get file names from the date of creation or modification in a folder?

Thank you.

  & lt; Php $ files = array (); $ It = new directorytitle ("."); $ Is- & gt; Rewind (); While ($ it-> Valid ()) {$ files [$ it- & gt; Milf name ()] = $ it- & gt; GetMTime (); $ Is- & gt; Next (); } Esport ($ files); $ Files = array_keys ($ files);  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -