a proper copyright notice in php
December 31st, 2006For those of us who run their sites using PHP, here’s a very simple tip that will save you that extra time spent at the end of the year when it’s time to change those copyright notices.
Using the code below, you won’t ever have to change that copyright notice again:
© 2005-< ?php echo date('Y');?>
Of course, you can implement this in a “footer.php” file that can be place at the bottom just before the ending “body” tag.
< ?php require("./footer.php"); ?>
And never have to change that copyright notice again…




December 31st, 2006 at 6:50 pm
That looks helpful! ^_^ Thanks!
January 1st, 2007 at 5:33 pm
Hi Carlos,
Just dropping by to wish you and your family a Happy 2007!