lundi 29 juin 2015

Get latest 15 files in a directory that are recently added to it php

Suppose there's a directory named "abc"

This directory contains number of files. Out of all these files, I just want latest "X" or latest 15 files in an array(if possible using glob function) in php.

Every help will be greatly appreciable.

Aucun commentaire:

Enregistrer un commentaire