fileatime()
Find out when a file was last accessed with this function. Think file a time where the “a” is for accessed.
Since it can be costly (in terms of performance) to change this info every time a file is accessed, some systems have this functionality disabled. In those cases, this function will be of no use; it will always return the same value no matter when the last access time actually was.
The results of this function are cached. See clearstatcache() for more info on that.
$t = fileatime('/home/username/public_html/index.php'); // 1249092092
See the manual entry for fileatime()
