What's a free non-commercial web counter?

zephyrprime

Diamond Member
Feb 18, 2001
7,512
2
81
I'm looking for something where I don't have to set up an annoying account. Just cut and paste simple.
 

Isaiah

Senior member
May 31, 2000
453
0
0
does your web host have php enabled?
If they do, you can do something like this:

function counter(){
// get the count
$counter_file = ("/path/to/file/count"); // You need to make a file called "count" and chmod it to 666
$visits = file($counter_file);
$visits[0]++;
$fp = fopen($counter_file , "w");
fputs($fp , "$visits[0]");
fclose($fp);
// display the count
echo $visits[0];
}

-Isaiah
 

zephyrprime

Diamond Member
Feb 18, 2001
7,512
2
81
No, my webserver doesn't offer squat. Otherwise, I could have just written something in perl.
 

NicColt

Diamond Member
Jul 23, 2000
4,362
0
71
>a free non-commercial web counter?

That's the equivalent of finding a virgin at a rave concert
 

hoihtah

Diamond Member
Jan 12, 2001
5,183
0
76
you should just do a search for website analyzer.

i know my company uses one... but i can't seem to remember exactly what service we use.

check this page out