PDA

View Full Version : hit counter


doubleT
09-29-2002, 10:55 PM
How can we make a basic hit counter using javasript?

IT will said Page have visited: times here

joh6nn
09-29-2002, 11:40 PM
you can't make a hit counter with javascript. you need to use a server side language, like perl, or php

doubleT
09-30-2002, 01:16 AM
Just for temp. only!

whammy
09-30-2002, 03:52 AM
You still can't do it without server-side scripting... unless you just make a fake one. In which case see:

http://javascriptkit.com/script/script2/counter.shtml

Which is a pretty good fake counter script that uses the javascipt Date() object.