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 thoughts on - Automatically update copyright year in PHP website or project

  • Your writing is perfect and complete. baccaratsite However, I think it will be more wonderful if your post includes additional topics that I am thinking of. I have a lot of posts on my site similar to your topic. Would you like to visit once?

  • Gut Vita™ is a daily supplement that helps consumers to improve the balance in their gut microbiome, which supports the health of their immune system. It supports healthy digestion, even for consumers who have maintained an unhealthy diet for a long time. https://gutvitabuynow.us/

LEAVE A COMMENT