You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 3778015 (Thread)

# hardly, that
info isn't stored anywhere

teh c0dez:
<?
$count = $_COOKIE['count'];
if($count=='') {
setcookie(count, '1');
} else {
$count++;
setcookie(count, $count);
}
header ('Content-type: image/png');
$im = ImageCreateFromGif('counter.gif');

$txt_colour = ImageColorAllocate ($im, 64, 64, 64);
imagettftext($im, 40, 0, 56, 60, $txt_colour, 'eras.ttf', '$count');
imagepng($im);
?>
(, Sat 2 Oct 2004, 19:25, archived)
# but I only have 20K for cookies on my hard disk
.. honest ;-)


OH OK, I`M TOO FAT AND COOKIES MAKE IT WORSE
(, Sat 2 Oct 2004, 19:32, archived)