CGI 101: counter.pl

This is a simple sort of "hidden" counter. It is designed to be used in lieu of an image tag, so instead of doing img src="whatever.gif", you might use img src="counter.cgi". The script increments a counter in a file, then returns the gif image. The person visiting your page need never know you have an embedded counter going.

 

Share this Listing