ma te vuoi uno script tipo questo?

Codice PHP:
<?php
$COUNT_FILE 
"count_data.txt";
$NB_DIGITS 8;
header("content-Type: image/gif");
$img ImageCreate($NB_DIGITS 117);
$bg_color ImageColorAllocate($img,00);
$text_color ImageColorAllocate($img255255255);
if (! 
file_exists($COUNT_FILE)) {
    
$txt "Can't find file, check '\$file' var...
"
;
} else {
    
$fp fopen("$COUNT_FILE""r+");
    
flock($fp1);
    
$count fgets($fp4096);
    
$count += 1;
    
fseek($fp,0);
    
fputs($fp$count);
    
flock($fp3);
    
fclose($fp);
    
chop($count);
    
$nb_digits max(strlen($count), $NB_DIGITS);
    
$txt substr("0000000000".$count, -$nb_digits);
}
ImageString($img,5,1,0,$txt,$text_color);
ImageGif($img);
ImageDestroy($img);
?>
che memorizza le tue visite solo?