1 2 3
<?php echo "Copyright © 2007" . ((intval(date('Y')) != 2007) ? date(' - Y') : '') . " - All Rights Reserved - Design by scott2010_h"; ?>
PHP On Copyright Year
by Mike Cochrane,
October 08, 2007 05:13
1 2 3 4
<?php function getsize($size) { $si = array('B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'); ...
1 2 3 4
function getsize($size) {
$si = array('B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB');
$remainder = $i = 0;
...
1 2 3 4
function isbn10_to_13($isbn) {
if (!preg_match('{^([0-9]{9})[0-9xX]$}', $isbn, $matches)) {
# number is not 10 digits
...


@JWvdV: Close, but you miss...