PHP/File Directory/filectime
Версия от 10:37, 26 мая 2010; (обсуждение)
filectime.php
<?php
$file = "/usr/local/apache2/htdocs/stat.php";
echo "File inode last changed: ".date("m-d-y g:i:sa", fileatime($file));
?>
Get the change time of a document with the filectime() function.
<?
$ctime = filectime( "test.txt" );
print "test.txt was last changed on ";
print date("D d M Y g:i A", $ctime);
?>