|
[ Order a Server ] [ Server Support ] |
|
[ Getting Started ] [ Server Help ] [ Add on Help ] [ Solution ] [ Trouble Shooting ] PLEASE NOTE, THIS IS VERY OLD ARCHIVE INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS
Simple Hit CountersCounters, counters everywhere! It seems that the hit counter is just about as ubiquitous as the web itself! Two simple counters, one text and one graphical, are presented in the sections below. The textual counter, was written by Jonathan Lewis. The graphical counter is simply a modification by Scott Pierce of the textual counter.
InstallationTo install the counters, connect to your Virtual Server via Telnet or SSH and use the commands below that match your Virtual Server O/S:
ConfigurationTo configure the counters, do the following.
ImplementationNow 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.
Textual Counter <!--#exec cgi="/cgi-bin/library/counter/c4.pl" --> Graphical Counter <!--#exec cgi="/cgi-bin/library/counter/c4g.pl" --> Reload your web page and see if it works. Once you have completed the installation successfully, you will have a working counter like the one shown below.
Over [an error occurred while processing this directive] Internet Customers Served. You have the flexibility of specifying a Graphical Counter Digit Set to be used to display the count if you are using the graphical counter. Refer to the instructions within the counter code itself for more information.
DocmumentationEach counter is documented within the source code:For technical documentation of CGI, see:
PLEASE NOTE, THIS IS OLD ARCHIVE INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS |