PHP Copyright Updater
Code
<?php
//Licensed under the GPL v2
//by Evan Walsh of nothingconcept.com
function copyright
($site,
$year) {
$current =
date(Y
);
if($year ==
$current) { $eyear =
$year;
}
else { $eyear =
"$year - $current";
}
echo "All content © $eyear $site";
}
?>