Skip to content

Online Fame | A 'blog written by Chris Rhee



Copyright on cruise control

Wednesday, February 2nd, 2005 (3 years, 9 months ago)

I’ve been running multiple websites for about six or seven years (You would think I’d be sick of it by now) and every new year, I have to change the footer of each website to correct the copyright year.

This wouldn’t be such a hassle if I only ran one website, but I’m responsible for updating the footer of many websites every year. And I’m lazy. So here’s my solution:

<?php
print date( "Y" );
?>

That basically spits out the year, according to your web server’s clock/calendar (which should be set to the right date and time, anyway). So the full code of my footer text for this website is:

Copyright © 2002 - <?php print date( "Y" ); ?> Chris Rhee, All rights reserved.

You can do this with other coding languages as well. I just happen to use PHP files for this website. There you go, website maintainers. Stay lazy.

Knowing is half the battle…

Unless you’re a hip hop fan (who follows underground music) who also happens to make websites, you won’t understand the pun of this headline. But there’s a mixtape that was pretty recently put out by the rapper, Copywrite, and it’s called Cruise Control Volume 1. Now you’re in the know.

Write a comment

Looking for older posts?
Read all 167 posts in the archives


Online Fame is...
Written by Chris Rhee, Distributed by The Distro, Designed by Neat Focus and a Fan of Rachael Ray.
Content copyright © 2002-2008.