Adding the script to your site isn't such a big deal. Step one Create a document called count.txt and place it somewhere on your server. Step two Create a file called counter.cgi including the code below.
Many servers have a standard place to keep such scripts, called cgi-bin.
Also, be sure the first line of the script points to the server's Perl interpreter. When you've created the counter.cgi file and put the count.txt in place, add the piece of text below to the HTML of the page you want the counter to appear on. This code calls the counter.cgi script and places the current total in your HTML page. Note that you can edit the text that it returns by altering the Perl script. If you have problems, see Matt Rotter's guide to troubleshooting your Perl script .