Web site counter

Locked
corpse
Posts: 678
Joined: Sun Jan 12, 2003 8:00 am

Web site counter

Post by corpse »

I have a friend with a Web site and he wants to know if he can put a counter on it to count the number of people that visit the site.

Is this done from the server [web hosting site] or from the local machine?
signa
Posts: 162
Joined: Thu Sep 16, 2004 7:00 am

Post by signa »

if you have php, cgi, or other scripting availible, its usually easy to add in a script that way. ive used count me in the past which is a php script.

another method is to sign up for one of the free online counters. there are lots of those. I currently use statcounter
corpse
Posts: 678
Joined: Sun Jan 12, 2003 8:00 am

Post by corpse »

So these would go onto my friends computer, as in on his side of things, NOT on the host server side, right?
signa
Posts: 162
Joined: Thu Sep 16, 2004 7:00 am

Post by signa »

no they would go on the webserver, along with all your html files. except for the free counter types (like statcounter), in which you just include a snippet of their code in your html files.
corpse
Posts: 678
Joined: Sun Jan 12, 2003 8:00 am

Post by corpse »

Sorry man. If he uses statcounter and the code is put on his machine, then only his machine will show the counts, right?

They won't show up on the actual Web site for all to see.
signa
Posts: 162
Joined: Thu Sep 16, 2004 7:00 am

Post by signa »

im not really sure what you mean. the code would reside on the webserver (in the actual webpages) with the visit count for everyone to see, unless you tell statcounter to count, but not display a counter.
corpse
Posts: 678
Joined: Sun Jan 12, 2003 8:00 am

Post by corpse »

I think I see what you mean. I thought, at first, that you meant the free ones only resided on the client machine, which means they wouldnt show up on the whole site. But, I see thats not what you meant
Locked