discover the modification date of a file with the function filemtime() : filemtime « File Directory « PHP






discover the modification date of a file with the function filemtime()

 
<?
$mtime = filemtime( "test.txt" );
print "test.txt was last modified on ";
print date("D d M Y g:i A", $mtime);
?>
  
  








Related examples in the same category

1.Getting file timestamps
2.filemtime.php