Display when a page was last modified

Display when a page was last modified

<?php
$last_modified = filemtime(“index.php”);
print(“Last Modified “);
print(date(“m/j/y h:i”, $last_modified));
?>

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*