Rate this script:  I Love it  /   I Hate it

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 &copy; $eyear $site";
}
?>
 

 

 
PHP Copyright Updater scripts | PHP Copyright Updater snippet | PHP Copyright Updater example | PHP Copyright Updater tutorial | PHP Copyright Updater code