Display when page has been updated
< script language="Javascript" >
document.write("This page was last modified on: " + document.lastModified +"");
< /script >
Instead of JavaScript you can use php code below to accomplish same result:
<?
header("This page was last modified on: " . gmdate("D, d M Y H:i:s",
filemtime($SCRIPT_FILENAME)) . " GMT");
?>
Cheers, Marin
Check for more articles on this topic at Website Hosting and Development website.
You can also visit DIMM Info Systems Inc. website to see how else I can help you achive your goals.
0 Comments:
Post a Comment
<< Home