Chibardun Home  |  Chibardun WebMail  |  Spam Center Login  |  Chibardun Time Online  |  Check Web Space  |

 

   Select Your OS
Windows (all)
Macintosh (7+)
Macintosh (8,9,10+)
 

   Tools & Info
Basic Chibardun Settings
Download Center
Virus Info Center
Firewall Info
Speed Test
Squash Spam!
Fake Error Messages
Thunderstorm Danger
 

   Contact Us
Abuse Complaints
Technical Support
 
 
 

 

 
Website Counter Example:
  • The one key thing to note is the df= tag. You must include the df= tag in order for your counter to count properly. The name of your data file must be in the form: username.dat For example, if your username on Chibardun is cgiman, your data file would be called: cgiman.dat
     
  •  As you look through these examples, replace the df=x.dat notation, with your individual .dat filename. If you wish to have separate counters on other pages, please just add a number to your username for each page to make it unique. For example, if cgiman wanted to place other counters elsewhere within his web pages, the tags would then be: df=cgiman1.dat and then df=cgiman2.dat, etc.
  • Note: The keywords in the query strings can be separated by & or |
  • There are a few different looks to the counter - browse through this page and note the Digit Styles sub-section.
  • If you would like to start your counter at a particular number, use the st= parameter. Put the number you would like it start at after the equals sign.

    NOTE: You MUST use the st= the first time you use your counter. Once the data file has been created on the server, the counter cannot be reset. This is for security purposes, or else anyone could reset your counter!
     


    Frame color and Thickness

    <img src="/cgi-bin/Count.cgi?ft=1&df=x.dat"> 


    Because of ft=1 no frame was wrapped.


     <img src="/cgi-bin/Count.cgi?ft=6&df=x.dat"> 


    Wrapped frame is with default color and thickness.


     <img src="/cgi-bin/Count.cgi?ft=10&df=x.dat"> 


    Wrapped frame is with default color and added thickness.


     <img src="/cgi-bin/Count.cgi?frgb=ffd700&df=x.dat"> 


    The wrapped frame is of a different color and default thickness. The color is specified as a hex string. Note, DO NOT add a # before the string as you do with the BODY BGCOLOR tag in HTML. In this query string, if you use a # sign everything after # is ignored. So, be careful.

    or you use can use the RGB triplets like:

        <img src="/cgi-bin/Count.cgi?frgb=255;215;0&df=x.dat">
    
    


    Comma can be displayed

    <img src="/cgi-bin/Count.cgi?ft=0|df=x.dat|comma=T">
    
    


    Rotation

    <img src="/cgi-bin/Count.cgi?ft=0|rotate=Y|df=x.dat">
    
    <img src="/cgi-bin/Count.cgi?ft=0°rees=180|df=x.dat">
    
    <img src="/cgi-bin/Count.cgi?ft=0°rees=90"df=x.dat>
    
    


    The first counter is rotated default 270 degrees toward right, no anlge is specified as rotate keyword is used.


    Digit Styles

    <img src="/cgi-bin/Count.cgi?dd=A|df=x.dat">
    
    <img src="/cgi-bin/Count.cgi?dd=B|df=x.dat">
    
    <img src="/cgi-bin/Count.cgi?dd=B|frgb=69;139;116&df=x.dat">
    
    <img src="/cgi-bin/Count.cgi?dd=C|df=x.dat">
    
    <img src="/cgi-bin/Count.cgi?dd=D|ft=3|df=x.dat">
    
    <img src="/cgi-bin/Count.cgi?ft=2&frgb=000000&dd=E|df=x.dat">
    
    

    These are the currently available digit styles, match up the image tag to the picture to see how to use that digit style.


    Change any color

    Change green color to red

    <img src="/cgi-bin/Count.cgi?df=x.dat|srgb=00ff00|prgb=ff0000">
    
    


    Negate the colors

    <img src="/cgi-bin/Count.cgi?netate=T&dd=A|df=x.dat">
    
    


    Note that the digit color is negated but the frame is not.


    Transparency

    A specific color of the digits can be made transparent on the fly. Note the counter program does not care if your gif images are transparent or not, you have to tell explicitly which color to make transparent. Here we will make the white color of the digit style E transparent. We will not use any frame either, just to make it look simple.

        <img src="/cgi-bin/Count.cgi?dd=E|ft=0|tr=T|trgb=ffffff|df=x.dat">
    
    

    You can use the RGB triplets for the color like:

        <img src="/cgi-bin/Count.cgi?dd=E|ft=0|tr=T|trgb=255;255;255|df=x.dat">
    
    

    Make the black color of the digit style A transparent:

        <img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=000000&df=x.dat">
    
        or
    
        <img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=0;0;0&df=x.dat">
    
        or
    
        <img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=black&df=x.dat">
    
    

    Make the green color of the digit style A transparent:

        <img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=00ff00&df=x.dat">
    
        or
    
        <img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=0;255;0&df=x.dat">
    
        or
    
        <img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=green&df=x.dat">
    
    


    Hide the counter

    You can keep the counter hidden if you like. You can do this by sh=0. The hit will be recorded but the counter will not be displayed. A 1x1 transparent GIF image is written which gives the illusion. You can use the no-increment feature for monitoring those hits to a secret page (described later)

        <img src="/cgi-bin/Count.cgi?sh=0|df=x.dat">
    
    

    A hidden counter is up there.


    Monitor counter hits

    You might have kept your counter hidden (or not). You can monitor the hits from another page just specifying the datafile and the keyword incr=F

        <img src="/cgi-bin/Count.cgi?incr=F|df=x1.dat">
    
        <img src="/cgi-bin/Count.cgi?incr=F|df=x2.dat">
    
        <img src="/cgi-bin/Count.cgi?incr=F|df=x3.dat"> 
    
    
      


    Number of digits

    Say you want to display the counter in 5 digits only.

        <img src="/cgi-bin/Count.cgi?md=5|df=x.dat">
    
    

    or you do not want to left pad with zero, you want to display exact digits.

        <img src="/cgi-bin/Count.cgi?pad=0|df=x.dat">
    
    


    Literal

  • Note: the literal use of the counter does not need the df=x.dat tag to work properly.
  • You can display a string literally. The valid characters in a string are 0123456789,:-ap
    <img src="/cgi-bin/Count.cgi?lit=0123456789">
    
    <img src="/cgi-bin/Count.cgi?dd=B&lit=0123456789">
    
    <img src="/cgi-bin/Count.cgi?dd=C|lit=0123456789">
    
    <img src="/cgi-bin/Count.cgi?dd=D&lit=0123456789">
    
    <img src="/cgi-bin/Count.cgi?ft=0&tr=1&trgb=ffffff|dd=E|lit=0123456789">
    
    <img src="/cgi-bin/Count.cgi?lit=a1,456-:p">
    
    


    Counter as clock

  • Note: the clock does not need the df=x.dat tag to work properly.
  • Display time in 12 hr format.
    <img src="/cgi-bin/Count.cgi?display=clock">
    
    

    Dispaly time in 24 hour format.

    <img src="/cgi-bin/Count.cgi?display=clock|tformat=24">
    
    

    Display date

    <img src="/cgi-bin/Count.cgi?display=date">
    
    

    Use timezone parameter to display time or date of any place in the world.


    Display an image

    Display a GIF image kept at digits/D directory.

    <img src="/cgi-bin/Count.cgi?ft=20|dd=D|image=lenna.gif|frgb=powderblue">
    
    


 

 

 

Disclaimer:

The information on this page and pages herein should not be construed as any one solution to your problem. This page, its creators and owners in no way take any responsibility for any problems caused to systems by viewing this page or by changes made to systems by the information contained herein or within links from this site. As with any computer problem always consult your manual and attain information from a certified computer expert before making any alterations to your system or software.

Software downloaded via this website or via links on this website is not necessarily supported by the technical support department. Please always read all documentation that accompanies the download (including the ReadMe file).
 

 

©2007 Chibardun Telephone Cooperative, Inc. All rights reserved.