Take a look at the getlastmod() function, an example of the usage would be:
$last_mod = date ("F d Y H:i:s.", getlastmod()); Then you can print or operate on last_mod any way you want, if you don't want to operate on the date you can just print the return of date. This information is available in the PHP manual at http://www.php.net/manual/en/function.getlastmod.php and http://www.php.net/manual/en/function.filemtime.php. Jason On Sun, 2003-02-02 at 12:08, Øystein Håland wrote: > In one file I want to display filenames and when these files was last > modified. I want this to happen even for files in other directories. > First of all, can it be done with php (I have seen that it is possible using > SSI), and in that case how? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php