|
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
|