Counter.exe comes with a companion CGI which will list all available fonts on the server and help you build your own counter. Try it on this server.
The value of the counter is allways printed within a rectangle. This rectangle has the same value as the size of the bitmap being used minus the border value:
rectangle left = border value
rectangle top = border value
rectangle right = bitmap width - border value
rectangle bottom = bitmap height - border value
To create a counter which looks as having a transparent background and no border, create a bitmap big enough for the counter value to appear and set the bgcolor tag to the same value as the page background. Then simply set the border value to 0. See the example above.
Hidding the counter:
You can hide the counter from visitors. No one wants to see a counter displaying 1 or 2. Instead of starting the count at a fictitious number set the Border to 0, the TextColor and the BgColor to the same color as the page background and the counter will not be visible. The stats will still be available.
Hidding the counter Part II:
Set the Face tag to use a symbol font and instead of digits your counter will display small symbols making it somewhat decoratif and hidding the actual count from visitors.
Setting the count:
Counter.exe stores the counts for the different pages in a text file called counter.txt in your CGI directory:
To reset the different counts simply edit the file and place it back in your CGI directory. To reset all counters to 0 just delete the file, counter.exe will re-create it and restart all counts from 0.
Counter.exe's log file is a small foot print text file. While servers usually create those monstruous log files counter.log
writes at most 30 bytes (characters) per page viewed plus the page name.
Use small key names or numbers to use the page tag. By following those rules your counter.log file will hold 25,000 entries (page viewed) per Meg in comparison a server log with 25,000 page viewed could possibly reach over 100 megs.
Page Reference file:
To display the stats viewcount.exe looks into the pagerefs.txt file to replace the values found in the log file:
Using this technique the size of the log file is greatly reduced.