Re: files

From: Date: Wed, 23 May 2001 13:49:01 +0000
Subject: Re: files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54048@lists.php.net to get a copy of this message
Hi Jon, @ 10:25:43 AM on 5/23/2001, Jon Yaggie wrote: --(snip)-- > I need to find the last update of one of any file in > clients/$username. With out specificly knowing any of the filenames. > As i can see there is no way for my script to list the files in this > directory and there is no function to test for modifications of all > files in a fiven directory. Well, of course you could use filemtime() to test the modification time. <http://us.php.net/manual/en/function.filemtime.php> Isn't that what you're looking for? As for all files, you could read the directory contents and test each file. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies.

« previous php.general (#54048) next »