This script will increment a counter file recording the hit, then return a hyperlinked image tag. This is especially useful for things like advertisements, especially if you have multiple rotating ads. This script can be expanded on fairly easily to read the gif file name and the corresponding URL from either a data file or an array. This cgi is designed to be used by a file using Server Side Includes (SSI).