This version of the page http://www.stereo.org.ua/2007/automatic-copyright-year/ (0.0.0.0) stored by archive.org.ua. It represents a snapshot of the page as of 2007-08-17. The original page over time could change.
Automatic Year in the site’s Copyright notice • STEREO.org.ua
  • Subscribe
  • Home
  • About
  • Contacts
  • Audio Division
  • MP3

Automatic Year in the site’s Copyright notice

If you happen to deal with a website template having the copyright year (the four digits at the bottom of virtually every www page on earth) hardcoded as a number in its PHP files, replace it with the following string:

<?=date("Y")?>

and you’ll be surprising your visitors with great immediacy every year in its very first minutes!

(requires “short tags” enabled in PHP configuration)

Tags: How To Web
Somewhat similar reading:
    • GetAFreelancer.com and GetACoder.com: who’s authentic?
    • Finally decided to migrate from Joomla to WordPress
    • How a scientist can believe in God

Leave a Reply