" As one of the leaders in the provision of web presence and network
solutions, we can offer our clients the most competitive prices available. "
Tue Jan 16 18:00:09 CET 2018
  Search :   
TECHNICAL FAQ Technical FAQ Page counters
NetCulture network information
The NetCulture speed commitment
Domain names explained
Secure transaction accounts (SSL)
FrontPage extensions
Administration of your account
Configuring POP accounts
The web language 'html'
Web page forms
Analysis of your web site
Page counters
Password protection
Automatic language detection
Using CGI
Using PHP for easy CGI
On-Line databases using MySQL
Mail handling on your account
Mailing lists (Majordomo)

Each account on the NetCulture network has the ability to link into the page counter database. This allows a track of the number of requests that your page has received.

You should reference the 'cgi' utility in your pages by using the following default method :-

<img src="/cgi-bin/Count.cgi?df=yourcompany.dat">

where 'yourorganisation' is your domain name with the extension and 'www' removed, ie. 'www.netculture.net' becomes 'netculture'. Web server account holders should use their normal account name.

The keywords in the query strings can be separated by & or |

Frame colour and Thickness

A frame with a blue colour is displayed by default.
<img src="/cgi-bin/Count.cgi?df=yourcompany.dat">

<img src="/cgi-bin/Count.cgi?ft=1">

As no df= option was used, random digits are displayed. Because of ft=1 no frame was used.

<img src="/cgi-bin/Count.cgi?ft=6">

Random digits. Displayed frame is with default colour and thickness.

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

Random digits. Displayed frame is with default colour and a thickness indicated ft=10.

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

Displayed frame is of the asked colour and default thickness. The colour is used as hex string.
Note, DO NOT add # before the string as you would use in normal HTML. In the query string,
if you use a #, everything after # is ignored.
or you use can use the RGB triplets:

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

or you even use the colour name.

<img src="/cgi-bin/Count.cgi?frgb=gold|df=yourcompany.dat">

A comma can be displayed
<img src="/cgi-bin/Count.cgi?ft=0|df=yourcompany.dat|comma=T">


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

The first counter is rotated a default 270 degrees towards the right, no angle is specified as the rotate keyword is used.

Digit Styles

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

These are the supplied digit styles. Simple use dd=A or dd=B etc for your choice.

Change any colour

Change green colour to red
<img src="/cgi-bin/Count.cgi?df=yourcompany.dat|srgb=00ff00|prgb=ff0000">

Negate the colours

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

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


A specific colour of the digits can be made transparent on the fly. Here we can make the white colour 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">

You can use the RGB triplets for the colour:

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

Make the black colour of the digit style A transparent:

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

Make the green colour of the digit style A transparent:
<img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=00ff00&df=yourcompany.dat">
<img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=0;255;0&df=yourcompany.dat">
<img src="/cgi-bin/Count.cgi?dd=A|tr=T|trgb=green&df=yourcompany.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 displayed which gives the illusion of a hidden counter.

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

A hidden counter is to the left of this sentence.

Number of digits

To display the counter in 5 digits only,
<img src="/cgi-bin/Count.cgi?md=5|df=yourcompany.dat">

or to be displayed with no left padding of zero digits.

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


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

Display time in am / pm format.
<img src="/cgi-bin/Count.cgi?display=clock">

Display time in 24 hour format.

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

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

Site français
Contact us  |  Home
© 1996-2018 NetCulture.   All rights reserved.