|
Hobbies --> PHP Programming
Adding a "last updated" Tag to Your
Page
Often, it's a good idea to include when a page was last updated.
Frontpage and Dreamweaver have widgets that will automatically insert this code
for you. However, those options don't exist when you manually code a web
page. So, use this simple script to insert when the page was last updated.
<?php
putenv("TZ=America/New_York"); // sets the time zone
echo "Page Last Updated: " . date("F d, Y", getlastmod());
?>
|
Home >> Hobbies
>> PHP Programming
webmaster at vansvault dot org
Last modified: February 20, 2006
|