Re: How can I display lastmodified for all my php-files?
| From: | �ystein H�land | Date: | Sun, 02 Feb 2003 22:24:59 +0000 |
| Subject: | Re: How can I display lastmodified for all my php-files? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134052@lists.php.net to get a copy of this message | ||
"Jason Sheets" <jsheets@php.net> skrev i meddelandet
news:1044214335.322.15.camel@daemon.shadotech.biz...
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.
I use the getlastmod()function already, to print in the same document, but I
recon this isn't exactly the same thing, since I want to display in ONE page
the last modified date of all my php-files, or am I wrong?
Some kind of array is necessary? I believe I need some kind of (recursive)
function that collect this information from all my files, and I believe
someone have written one already. I have not the skills (yet) to write it
myself