Zepher Posted November 11, 2009 Posted November 11, 2009 Hi, I used to have some code on my site that allowed me not to have to update the date in my copyright line on the bottom of my website. I had some cgi code in the date that replaced the second value with code to automatically update the present date, but can't remember how to do it. ex ---> (2001-code?) I'm updating some pages right now and want to fix the copright - but only once. :D
Mat Barrie Posted November 11, 2009 Posted November 11, 2009 What language? In PHP, that would be: Not sure in Perl/CGI2001-<?php date("Y"); ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.