Automatically update copyright year in PHP website or project

  PHP Projects

This simple PHP function will Automatically update your web pages with the current year which means you don’t have to waste time each year doing it manually and can get on with more important things! The only thing to remember is it takes the current year from the server where your site is hosted on so if the date is wrong or updates a little early or late it could be your server is in another time zone to the one you live in or the server has actually got the wrong date set! This is how my Copyright notice at the bottom of this page looks like behind the scenes

Automatically update copyright year

Source:ianjgough.com

2,186 thoughts on - Automatically update copyright year in PHP website or project

LEAVE A COMMENT