<html>
<head>
<title>Page last updated on month/date/year hour:min PHP Script</title>
</head>
<?php
$last_modified = filemtime("myexamplepage.php");
print("Last Modified ");
print(date("m/j/y h:i", $last_modified));
?>
</body>
</html>
PHP — ‘Page last modified’ on script
July 20th, 2009 by Ryan Huff Leave a reply »
Advertisement
