Counter Image Generators
NOTE: Regular users of the counters should not bother with these files!
All you need is a user account
to add counters to your pages. These files are for programmers and system administrators
who want to host them 'locally' for efficiency, or who want to see how they work.
The image generators for the web counters are C-code source files
that need to be compiled on the webserver they are going to run on.
For Linux/Unix machines or others that have the GNU C Compiler, the
command line is simply 'gcc -o counter counter.c'. For
example, to compile the Amy Walking generator, the line would be:
gcc -o amywalk amywalk.c
You may need to rename the output file depending on your CGI setup,
such as using 'amywalk.cgi' instead of just 'amywalk'.
Once compiled and placed into a directory with CGI permissions, you
can test it out by trying the URL to it in your web browser. If the
image appears and animates (it won't show a count though) then you
can go to your Account Manager and change the Image Generator URLs
in your counter options to use the new URL.
Note: The flame and heart counters have two image generators each.
This is because one of them is used for previewing in the Options
forms. The flamepreview and heartpreview generators use a fixed
image width so that they can work with Javascript correctly in the
forms.
If you use a Windows-based server, try the Windows .EXE versions below,
compiled Brandon Bergren (thanks Brandon!).
|