[thelist] PHP : getlastmod

Tony Collen manero at yossman.com
Thu Mar 15 18:51:52 CST 2001

On Thu, 15 Mar 2001, Jonathon Isaac Swiderski wrote:

> Is it possible to use getlastmod() in reference to one of several included 
> PHP files?

use the stat() function:

(PHP 3, PHP 4 )

stat -- Gives information about a file

array stat (string filename)

Gathers the statistics of the file named by filename.
Returns an array with the statistics of the file with the following

inode protection mode
number of links
user id of owner
group id owner
device type if inode device *
size in bytes
time of last access
time of last modification
time of last change
blocksize for filesystem I/O *
number of blocks allocated

Anthony Collen
manero at yossman.com

More information about the thelist mailing list