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.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]