a proper copyright notice in php

December 31st, 2006

For 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…

Related Posts
  • walking through a screen door
  • Thoughts That Are Of You
  • Songs About The Rain
  • The Vanishing Woman
  • if you experience identity theft…
  • Her Silent Beauty
  • 2 responses

    1. Tara-Chan comments:


      That looks helpful! ^_^ Thanks!


    2. Grace comments:


      Hi Carlos,
      Just dropping by to wish you and your family a Happy 2007!


    Leave a comment