On Sun, 2 Feb 2003, Øystein Håland wrote: > > "Jason Sheets" <[EMAIL PROTECTED]> skrev i meddelandet > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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
See: http://www.php.net/readdir http://www.php.net/filemtime The examples within will help you write this. Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php