1
Does anyone know of a simple counter that works i have tried some of them and non seem to work
So i went searching around for counter scripts would this be able to work in some way
Quote:
// My Hits 2
// http://www.laviska.com
$file = "my_hits.txt";
$user_ip = $_SERVER['REMOTE_ADDR'] . "\n";
$ip_list = file($file);
$visitors = count($ip_list) - 1;
if (in_array($user_ip, $ip_list))
{
echo ("$visitors");
} else {
$fp = fopen($file,"a");
fwrite($fp, "\n$user_ip");
fclose($fp);
$visitors++;
echo $visitors;
}
?>
The text file is blank barr "do not delete this line"
Could this be used or is there some other counter out there i have missed
I know about the bfstats yet u have to register a privacy policy and i got confused with the application form more then once
so i have given up on that one as all i need is an internal counter
Any help would be apreciated as i just got a reply from a webring saying i dont have enough vistors
yet i am starting to get well over 1000+ per month that dont post as they dont think anyone uses the site
plz help