Most websites include a copyright disclaimer at the bottom of the page. Having a copyright line that is out of date can be a bad reflection on your site. This little PHP script automatically changes the copyright to the current year every year so that it never goes out of date.
More PHP / MySQL Quick Tips
<?phpThis code could be placed directly on the page, or could be held in a separate file and called with a file include.
$time = time () ;
//This line gets the current time off the server
$year= date("Y",$time) . "<br>";
//This line formats it to display just the year
echo "Copyright 2002 - " . $year;
//this line prints out the copyright date range, you need to edit 2002 to be your opening year
?>

