W3CNT - web access counter


w2cnt.cgi is written in GD tcl

  • Extract w3cnt.tar.gz

  • Copy w3cnt.cgi to your cgi-bin catalog

  • Edit the w3cnt.cgi file for configuration
    The configuration parameters are:
    set DATFILE /path/filename.dat;	# Keeps track of nbrs of visitors	
    				# NB! $DATFILE must be writeable and have 
    				# the same owner as the httpd process, 
    				# or it has to be world writeable
    set FIELDS 6;			# Number of digits
    set DIGITPATH /path/digits;	# Path to the catalog with the digit images
    				# NB! without a trailing /	
    set TRANSPARENT 0;		# Transparent background. 1 = yes, 0 = no
    set ndW 10;			# new_digit_Width (width in pixels per digit) 
    set ndH 15;			# new_digit_Heigth (heigth in pixels per digit)
    
  • Put the following tag in your .html file

    <IMG SRC="/cgi-bin/w3cnt.cgi">

    Here are some examples:

    ndW=10 ndH=15
    You are visitor number

    FIELDS=9 ndW=50 ndH=75

    FIELDS=6 TRANSPARENT=1 ndW=100 ndH=150

    BTW: W3CNT is freeware - you are free do to whatever you like with it.
    Per Soderlind
    Digital Equipment Corporation AS
    Oslo Norway