Welcome to WebmasterWorld Guest from 22.214.171.124
I am trying to create a hidden counter. What would be the best way to create this. I know there are lots of scripts that I can use, but they are not easy to modify. I thought cgi would be the way to go but I am not sure. I want to maintain the number of hits for each page and then view them from a text file. So something like "URL of file : number of hits" should be stored in the file. Also when I include a cgi file to a .shtml page I get a 404 error, I don't know why?. I don't know how to get started or what would be the best way to create this. Thanks!
Alternatives? Well, you could always use a hidden image in your page to hit the other server with some type of query string that you could use to provide tracking.
You have an image file in the page which is a reference link. It is basically a 1x1 pixel image of ... well nothing. The url leads to a script that logs the info and sends back the image, ... that never gets seen.