ECN Internet Webconnect Pay AccountCheck EmailWebHQOrder ServicesForms IndexTech SettingsQuick LinksContact Us
ECN Internet Solutions for BusinessECN Internet Solutions for ResidentialECN Customer ServiceECN Partners
ECN Partners
ECN Internet Solutions
  • Website Statistics
  • Broadband Statistics
  • Private Networks
  • Dial Statistics
  • Business Email
    • Addresses
    • Passwords
    • Quarantine
    • Help
  • Database
    • phpMyAdmin
  • Access Control
    • User Lists
    • Directories
  • Counters
    • Manage
    • Help
  • Services
    • Overview
    • Billing
    • Credits
  • Scripting
    • Forms to email
    • CGI (Perl)
    • ASP, PHP + .NET
  • WebCommerce
    • View Orders
    • Catalog Builder
    • Text + Links
    • Billing, Checkout
    • Other Settings
    • Help
  • WebHQ Service
    • Email Support
    • Email Sales
    • Email Account
ECN Internet Solutions

Web Access Hit Counters

Before implementing page counters you must create Counter Entries in the webHQ Administration utility. Each Counter Entry contains your client name followed by a full stop and a number. Every time you add a counter to the Counter Entries screen that number increments.

To reference your page counter add the following to the section of your Web document that you wish to have a counter for:

<IMG SRC="/cgi-bin/Count.cgi?ft=9|frgb=69;139;50|tr=0|trgb=0;0;0| wxh=15;20|md=6|dd=A|st=5|sh=1|df=XXXXX.X" align=absmiddle>

(All on a single line)

If you would like to see an example of the source code put to use in a page, please view the source to this page to see how the counter below is referenced.

Counter Settings

ft=9
ft means frame thickness. If you want to wrap the counter with a ornamental frame, you define the frame thickness like this. Here 9 is the thickness of the frame in pixel. This value can be any positive number more than 1. For nice 3D effect, use a number more than 5. If you do not want frame, just use ft=0.

frgb=69;139;50
frgb defines the colour of the frame. Here 69 is the red component, 139 is the green component and 50 is the blue component of the colour The valid range of each component is &gt;=0 and &lt;= 255. The components must be separated by ; character. Note even if you define ft=0, these components must be present, just use 0;0;0 in that case.

tr=0
tr defines if you want transparency in the counter image. Here tr=0, that is I do not want transparent image. If you want transparent image, define tr=1. Note that Count.cgi, does not care if your digits are transparent GIFs or not. You must tell explicitly which colour you want to make transparent.

trgb=0;0;0
if tr=1, then black colour of the image will get transparent. Here 0;0;0 are the red, green and blue component of the colour you want to make transparent.

wxh=15;20
wxh string defines the width and height of an individual digit image. Each digits must have the same width and height. If you like to use digits not supplied with my distribution, find out the width and height of the digits and specify them here.

MD=6
MD defines the maximum number of digits to display. It can be &gt;= 5 and &lt;= 10. If your counter number is less than MD, the left digits will be padded with zeros. Here MD=6 means, display the counter with maximum 6 digits. f you do not want to left pad with zeros, use <b>pad=0</b> instead of MD=6. <B>Note you can either use MD=some_number of pad=0, in this< field, you can not use both.</B> If you use <b>pad=0</b>, then the digits will be displayed exactly without padding.

DD=A
DD means digit directory. A indicates, it will use my LED digits located at the directory A. The base of the directory A is defined with <B>DigitDir</B> at step 1.

sh=1
sh mean show. If sh=0, then no digit images will be displayed, however a transparent 1x1 transparent GIF image will be returned, which will give the illusion of nothing being displayed. Although it will seem that nothing is displayed, the counter will be incremented all right.

df=XXXXXX.X
finally df means data file. This is the Counter Name as created within the Counter Entries section in webHQ.

(eg: demo.1)


ECN Internet Solutions
© 2005 ECN Internet     1300 790 111     ECN Agreement + Disclaimer     site by Media Two
ECN Internet Solutions