









CGI Scripting
Web Hosting
.

| 

Overview
The script is written in PERL (CGI) and requires Server Side Includes (SSI) to run! The script
keeps track of all visitors to your page graphically and allows you the ability to make your own
number GIFS. This ZIP file comes with two sets of possible colors for your counter, blue and green,
as displayed below. Also, you have the option to exclude yourself from affecting the counter.
You are visitor:
   
  
Download - (zip file)
Zip file - (1.7 kb)
Script and Files
Count.cgi
Read Me
Count.dat
HTML Changes
Change the extension from '.html' to '.shtml' and add the following line to
your '.shtml'.
<!--#exec cgi="http://www.yourdoamin.com/count.cgi"-->
Variables
This excludes YOUR computer from affecting the 'counter.dat' &
the 'log.dat' files from being updated when you call the page.
If so, enter your IP address. Otherwise, enter "0"
$your_ip = "0.0.0.0";
This is the directory where your 'counter.dat' file will
be kept. For instance, this counter is found on my page
'http://www.aestheticsurgerycenter.com/index.shtml'.
You MUST have the complete directory or else it won't work.
If you don't know it, ask your service provider. This
directory will only work at www.wideworldmart.com - so change it!
$count = "/mnt/web/guide/aestheticsurgerycenter/";
The 'counter.dat' file will only count the number of
hits, This file must have the special read/write/excute
permissions - 'chmod 766'.
|
|
|
|
All Rights Reserved - Terms |
 |
|