/* $print_what = 'text';
$print_what = 'counter_img';
$ext = 'gif';
$urlcount = 'http://www.ttecjesolo2005.it/counter_img';
$count_what = 'visitors';
$count_what = 'hits'
/*
session_start();
if ($count_what == 'visitors') {
if (!$PHPSESSID) {
$thefile = file("counter_txt.txt");
$count = implode("", $thefile);
$count++;
$myfile = fopen("counter_txt.txt","w");
fputs($myfile,$count);
fclose($myfile);
}
}
else {
$thefile = file("counter_txt.txt");
$count = implode("", $thefile);
$count++;
$myfile = fopen("counter_txt.txt","w");
fputs($myfile,$count);
fclose($myfile);
}
*/
?>
Sei il visitatore nş
$thefile = file("counter_txt.txt");
$count = implode("", $thefile);
if ($print_what == 'text') {
print $count;
}
else {
$num = strlen ($count);
$i = 0;
while ($i < $num) :
$graphic = substr ($count, $i, 1);
print " ";
$i++;
endwhile;
}
?> |
Metalmeccanica Renda S.r.l. C/da Digerbato, 500\e 91025 Marsala (TP) Tel. +39 0923 984307 Fax +39 0923 984344 info@metalmeccanicarenda.it |