RE: [PHP] looking for program/script to diff directories and showdates
| From: | Chris W. Parker | Date: | Wed, 27 Jul 2005 18:50:23 +0000 |
| Subject: | RE: [PHP] looking for program/script to diff directories and showdates | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219447@lists.php.net to get a copy of this message | ||
John Nichel <mailto:john@kegworks.com>
on Wednesday, July 27, 2005 10:56 AM said:
> What about just checking the modified times of the two files with
> filemtime()? You could have it grab the timestamp of both files,
> compare them, and see if it's outside a set parameter (like 24 hours,
> 7 days, etc).
Yeah, that's not a bad idea. A web based app would be pretty cool.
Thanks,
Chris.
p.s. Yes I am in a *nix environment. RH9 to be specific. Good job John!