|
Support Areas
|
|
 |
|
Making a Website
- Adding a Counter to a Webpage; Page 1 (of 3)
We have
installed a web-page hit counter at Chesco, one that we hope you'll find easy to
install and customize. The engine is Count 2.0, and full documentation can be found
here. We've included enough of the instructions to get started here.
Counters are bit-mapped images representing numbers, which can also be times, dates,
or almost any arbitrary number. But usually they're just page hit counters. The engine
driving these counters responds to special HTML instructions on your page, and generate
the bitmaps and increment the number contained in your special file which holds the
current 'hit count'.
Before we get to the examples, one important note: since the file containing your
counter is maintained in a publicly accessible area, two things must be remembered:
These counters
must have unique (system wide) names.
One way to so this is to preface the counters name (more about what exactly that
means below) with a unique identifier. For example, 'counter' would be a very bad
name for your counter, username_counter, e.g. 'billybob_counter' would be better.
If you have more than one page with a counter on it, make sure they are unique. E.g,
'billybob_counter_page1' would be dandy.
Counters are not
secure. This means there are any number of ways a bad person can corrupt your counter,
were they properly motivated. This is why the hit count mechanism used by Chester
County Internet accounting is not the same as this mechanism.
One final note
before we roll up our sleeves and get to work: commercial web accounts must be individually
authorized by the sysops to access the counter mechanism. This is due to the design
of the counter software. Just drop "webmaster@chesco.com" a line, and we
will add your commercial domain name to the list. Once your account is authorized,
you can use any number of counters. Again, this restriction is for commercial accounts
only; personal web pages do not have this restriction.
|