Akujin
10-23-2002, 09:14 PM
I have been searching the net for a couple of days now trying to figure out a way to code a Hit Counter in Javascript. I can easily do this in Perl or ASP but i do not want to use a Perl or ASP page, i want my page to be in normal HTML format. The problem i run into is that i do not know how to access outside files in Javascript, so i can't just create a file with the number of hit in it and print that to the document.
Is there a way to edit and call from an external file in javascript that i don't know of? Or is there another way to write a hit counter in Javascript?
also, i don't want to use code from another website, i'd like to write this on my own so don't bother telling me to download a hit counter from another website.
If anyone can help with this i'd be glad to share my knowlege of whatever you wish in return.
Is there a way to edit and call from an external file in javascript that i don't know of? Or is there another way to write a hit counter in Javascript?
also, i don't want to use code from another website, i'd like to write this on my own so don't bother telling me to download a hit counter from another website.
If anyone can help with this i'd be glad to share my knowlege of whatever you wish in return.