Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[LIVE HIT COUNTER]

Status
Not open for further replies.

melstef

Programmer
Feb 19, 2003
69
CA
Hello, I would like a hit counter on my site, a simple script to count the hit on my page.
thanks
 
Wouldn't we all... however, JavaScript will be of limited use as it is a language that is mostly used on the client machine. The best JavaScript could offer in this respect would be to set and read a cookie which would tell each user how many times they personally had visited each page.

'Hit Counters' Are more commonly implemented using some sort of server-side process which can aggregate the visits of each and every user and display a total.

Thankfully you're not the first person to want such a thing and there are more free hit counters out there than I've had cups of coffee.

Try here for a good start
 
Well, maybe there something else I can use. I have a certificate and I need to have a number at the bottom that would change each time the kid view the page
 
OK, I'm not sure exactly what you are after.

Say I'm "the kid"... when I view the page, do you want that number to be:
a) the number of times I have visited the page, or,
b) the number of times the page has been visited all together?

What sort of certificate are we talking about? SSL?
 
And you need each of these certificates to be individually numbered? Or do you just want to display how many times the certificate has been viewed by the kid?

Individually numbering them would require either a database to record the numbers - which you would then need to use ASP or PHP to access the database to display the certificate. Or you would need to make a new certificate file for each person. Either way, Javascript won't be much use to you.

If you just want to keep track of how many times it has been visited, use any of the free hit counters in the google search above.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top