##############################################################################
# If you encounter problems while trying to configure this script, help      #
# is available.  In order to get your problem solved:                        #
#       1) Read this file thoroughly                                         #
#       2) Consult the THANKS-CGI Frequently Asked Questions:                #
#               http://www.thanks-cgi.com/faq/                               #
#       3) If you are still having difficulty installing this script, send   #
#          e-mail to: support@thanks-cgi.com                                 #
#          Include any error messages you are receiving and as much detail   #
#          as you can so we can spot your problem.                           #
#                                                                            #
# Hopefully we will be able to help you solve your problems.  Thank you.     #
##############################################################################
# COPYRIGHT NOTICE                                                           #
# Copyright 1998 THANKS-CGI All Rights Reserved.                             #
#  Not for re-sell or re-distribution.                                       #
##############################################################################


==========================
1.SETUP for counter.cgi
==========================

#!/usr/bin/perl
   If your server supports TELNET, you may use "which perl" to findout where the address is.
   NOTE: DO NOT DELETE "#!" in front of "/usr/bin/perl" (first line of script)

######################################################################

# Setup Procedure
# You may use FTP to check where the path is by typing the "PWD" command or contact your server.

$imagefile{'0'}="/home/yourdomain/counter/0.gif"; #The path of your image of counter (0.gif)
$imagefile{'1'}="/home/yourdomain/counter/1.gif"; #The path of your image of counter (1.gif)
$imagefile{'2'}="/home/yourdomain/counter/2.gif"; #The path of your image of counter (2.gif)
$imagefile{'3'}="/home/yourdomain/counter/3.gif"; #The path of your image of counter (3.gif)
$imagefile{'4'}="/home/yourdomain/counter/4.gif"; #The path of your image of counter (4.gif)
$imagefile{'5'}="/home/yourdomain/counter/5.gif"; #The path of your image of counter (5.gif)
$imagefile{'6'}="/home/yourdomain/counter/6.gif"; #The path of your image of counter (6.gif)
$imagefile{'7'}="/home/yourdomain/counter/7.gif"; #The path of your image of counter (7.gif)
$imagefile{'8'}="/home/yourdomain/counter/8.gif"; #The path of your image of counter (8.gif)
$imagefile{'9'}="/home/yourdomain/counter/9.gif"; #The path of your image of counter (9.gif)

#End of Setup
=========================
3.
  Make sure ASCII mode is used to upload "*.cgi, *.txt" to the Server.
  DO NOT USE "Auto" or "Binary"
  Also set the chmod 755 for "*.cgi" and chmod 666 for "*.txt" 

  Use "Binary" mode to upload all "*.gif".

=======================
4.
Copy the following scripts to your HTML:
Visitor:
<img src=/cgi-bin/counter.cgi?position=4>
<img src=/cgi-bin/counter.cgi?position=3>
<img src=/cgi-bin/counter.cgi?position=2>
<img src=/cgi-bin/counter.cgi?position=1>
<br>
NOTE: "/cgi-bin/counter.cgi" can be a different path depending on the server or how you set it up.

===========================
5.
#############################################################
# After setup of "COUNTER", register with us for free URL link of your website from THANKS-CGI.com.
#############################################################

For additional information please visit our website at "http://www.thanks-cgi.com/"


