|
For the World's Most Important Web Site - YOURS! VPS v1 Support Documentation |
||||
|
|
Hit Counter CGIsTwo simple counter CGIs, one text and one graphical, are presented in the sections below. The text counter was written by Jonathan Lewis. The graphical counter is simply a modification of the textual counter by Scott Pierce. InstallationTo install the counters, connect to your Virtual Private Server via SSH or Telnet and use the following command: % vinstall counter ConfigurationTo configure the counters, do the following.
UsageNow you are ready to implement your new counter. Place the counter server side include in the HTML of the page on which you want to have a counter. In the .html file include something like the following in the main body of HTML.
Reload your web page and see if it works. Once you have completed the installation successfully, you will have a working counter. Graphical Counter Digit SetsYou have the flexibility of specifying a graphical counter digit set to be used to display the count if you are using the graphical counter. Several Digit Sets are included in the distribution. To use any of these digit sets, set the $digit_path, $digit_width, and $digit_height variables as indicated. You will find the declaration of the $img_path, $digit_width, and $digit_height variables in the c4g.pl CGI. Many other digit sets are available. The definitive site for graphical digit sets is Digit Mania Have a look at the hundreds (literally) of digit sets available. If you find a digit set that you would like to use, it is a very simple procedure to configure the c4g.pl CGI to use your preferred images. Just follow these steps:
DocmumentationEach counter is documented within the source code: |
|||
|
© 1996 - 2008 Web Hosting Solutions 1311 Darcann Drive, Columbus, OH 43220 1-888-522-3738 Money Back Guarantee 99.9% Uptime Guarantee Like sports? Visit ColumbusSports.com |