##############################################################################
# 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.                                       #
##############################################################################

# Setup Procedure

1.MODIFY: bitmapcounter.cgi
  SET #!/usr/bin/perl as server required for PERL's directory. NOTE:Do not take away "#!"

  $filehead = "/home/yourdomain/bitmapcounter/";
  # The full filepath of all bitmapcounter's directory. If you are not sure what the path is, contact your server.

  $usedfile = "/home/yourdomain/bitmapcounter/usedfile.txt";
  # The full filepath of database file. Extension must be "*.txt". If you are not sure what the path is, contact your server.

  $resultpage = "/home/yourdomain/bitmapcounter/result.htm";
  # The full filepath of page to show the result.  If you are not sure what the path is, contact your server.

  $colortype = 0;
  # The color of counter's image. 0=WHITE font in BLACK background. 1=BLACK font in WHITE background.


2.MODIFY: The page of counter.
  Use <img src=http://.../bitmapcounter.cgi> to show counter in your page. 

  If you want to check the record of this counter:
  Use <a href=http://.../bitmapcounter.cgi?result>Statistics</a>
  NOTICE: Do not take away "?result" in the script.

3.Upload all *.cgi, *.htm, *.txt to server by "ASCII" mode.

4.Set "*.cgi" to chmod 755. Set all "*.htm" to chmod 666. The directory of what "$filehead" pointed, set chmod 777.

5. Now, you can start testing your THANKS-BITMAPCOUNTER

6. After you have completed the above mentioned, you can modify  "*.htm" to change the outlook. You can create your own style!
   Notice: DO NOT change the scripts starting with the following: "$" and "<!--.....-->".
            
#############################################################
# After setup of "THANKS BITMAPCOUNTER", 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/"
Thank you for using THANKS-CGI scripts.