Thread: website stats
View Single Post
Old 21-12-2004, 14:40   #6
MikeyB
Inactive
 
MikeyB's Avatar
 
Join Date: Jun 2003
Location: Swindon
Age: 53
Services: BT FTTP, Humax Foxsat HDR Freesat+
Posts: 810
MikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud ofMikeyB has much to be proud of
Re: website stats

The problem with trying to do it with javascirpt is how to record the stats, as iron25 says, you cannot wite these out to a file on your server, the best you can do is write it to a cookie, but that stays on the visiotors computer, and would only count their own visit.
This is because javascript runs in the browser on the visitors computer, rather than on your web server.

You will need server side scripts to do a counter, ASP, PHP, Perl etc
MikeyB is offline   Reply With Quote