filemtime()
Find out when a file was last updated with this function. Actually, it will give you a timestamp of when the file was written to, though its contents may not have actually changed.
Think file m time where the “m” is for modified.
The results of this function are cached. See clearstatcache() for more info on that.
$t = filemtime('/home/username/public_html/index.php'); // 1162955984
See the manual entry for filemtime()
