##############################################################################
# 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: static.cgi
  SET #!/usr/bin/perl as server required for PERL's directory. NOTE:Do not take away "#!"

  $gifurl = "http://www.yourdomain.com/static/static.gif";
  # The image of result's link.

  $filehead = "/home/yourdomain/static/";
  # The real path of the static record. If you are not sure, please contact your ISP or hosting services.

  $usedfile = "/home/yourdomain/static/usedfile.txt";
  # The database of your statics. You can rename to "whatever.txt".

  $resultpage= "/home/yourdomain/static/result.htm";
  # The PAGE to show the result.

2.MODIFY: The webpage to make a static's record. You have to add a script in your page as below:
 
 <script language='JavaScript'> 
  document.write('<a href=/static/static.cgi?result><img src=/static/static.cgi?'+document.referrer+' border=0></a>');
  </script>

  The path "/static/static.cgi" is your URL of your "static.cgi".

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

4. Set "*.cgi" to chmod 755. Set all "*.htm", "*.txt" to chmod 666.

5. Set the directory of "static" to chmod 777.

6. Upload all "*.gif", "*.jpg" to server by "Binary" mode.

7. Now, you can start testing your THANKS WEB-STATIC

8. 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 WEB-STATIC", 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.