...

View Full Version : site METER



py2o3434
05-27-2004, 05:42 AM
Hi, Can someone help me with a personal site meter? I know i can get a free one offline but i dont want all the ad's. Can someone make me a file for it? Thank you for any help.

Mhtml
05-27-2004, 03:07 PM
What do you mean by site meter?

stophon4
05-27-2004, 03:16 PM
Do you mean a counter?

if so:


$file = fopen("count.dat", "a"); // you need to create this file...
fputs($file, "HIT \n");
fclose($file);
$hits = count(file("count.dat")) // Find out how many hits
echo ("You are visitor number $hits!");

If by meter you mean counter than that is about the simplest counter you will ever find... I have one on my site that doesn't count my hits and it tells me how many hits since my last visit...But the one above should do just find it you like um simple :cool:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum