RE: [PHP] select 3 files that were created last
| From: | Don Read | Date: | Sun, 12 Aug 2001 16:11:14 +0000 |
| Subject: | RE: [PHP] select 3 files that were created last | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62317@lists.php.net to get a copy of this message | ||
On 12-Aug-2001 sarahana wrote:
> Hi,
> Please let me know how I can select 3 files from a directory that were last
> created..
>
popen("ls -t $dir | head -3", 'r');
> Also, the directory (out of all the directories placed in the parent
> directory) that was last created.
>
vas created ?
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.