Tech Support Topics

Sphynx Site CGI

Graphical Hit Counter For Your Home Page

When you order a Sphynx Site, your preconfigured default home page includes a few lines of html that call a cgi program to count hits and place a graphical counter on your page. Here's the basic form of those lines of html. Where you see userid insert your site userid on sphynx:


   <p>You are visitor number 
   <img src="/cgi-bin/Count.cgi?dd=D|frgb=0;139;116&df=userid.dat" 
      align=absmiddle></p>

Which appears on the page as:

You are visitor number



Variables You Control

Each portion of the code after the question mark "?" controls a facet of counter display appearance. Either an ampersand "&", or a vertical bar "|" separates each controlling statement. Feel free to experiment with this line to customize your graphical hit counter.



Digit Style

The "dd=D" selects the style of digits to display. Currently available styles are A, B, C, D, and E.

<img src="/cgi-bin/Count.cgi?dd=D|frgb=0;139;116&df=userid.dat" align=absmiddle>

Note: If you want a customized counter digit style, you can have one for a one-time fee of $5 (added to your monthly bill) to add the digit style that you provide.



Frame Color

The "frgb=0;139;116" sets the color of the surrounding frame in rgb (red, green, blue) values. Or you can use hexadecimal numbers, ie: "frgb=ff0000" would be red. Don't use a "#" as you would setting text or background colors for an html page, just the hex number.

<img src="/cgi-bin/Count.cgi?dd=D|frgb=0;139;116&df=userid.dat" align=absmiddle>



WWW Count 2.2

The graphical counter on Sphynx Sites is done using Muhammad A. Muquit's excellent cgi program WWWCount_2.2. This same program may be used to place a digital clock or digital date display on your pages. Although Muhammad's program is in a new release that adds some features, we will stick with 2.2 for at least the remainder of 1996. For more information on customizing your counter, clock or date display, see our local copy of Muhammad's instructions for WWWCount_2.2.


HOME | SITE HOSTING | VIRTUAL SERVERS | PAGE DESIGN | FAQ | ORDER | TECH SUPPORT


Copyright © 1996, Sphynx Web Solutions. All rights reserved. All brand names and product names used on these web pages are trademarks, or trade names of their respective holders. Direct questions or comments to webmaster@sphynx.com.