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

  $cgiurl = "http://www.yourdomain.com/cgi-bin/easyvote.cgi";
  # The URL of "card.cgi". 

  $filehead = "/home/yourdomain/card/";
  # The full filepath of database and text files. If you don't know, you have to contact your server.

  $samplepage = "samplepage.htm";
  # The page of CARD review.

  $succpage = "succpage.htm";
  # The page of page after send out the card.

  $errorpage = "errorpage.htm";
  # The page to show ERROR message.

  $cardurl = "http://www.yourdomain.com/card/store/";
  # The URL of where card's information are stored.

  $cardfilehead = "/home/yourdomain/card/store/";
  # The full filepath of where cards are stored. If you don't know, you have to contact your server.

  $mailendingfile ="mailending.txt";
  # The footnote of E-mail.

  $time_miss = +12;
  # TIME ZONE ADJUSTMENT

  $keep_days = 30;
  # Days to keep the record of card.

  $allow_html=1;
  # Allows visitors to use HTML. 1=enable 0=disable

  $deadletter = "yourdomain.com";
  # The server produce "dead.letter", usually is your own domain or the server you host with.

  $masteremail = "yourname\@yourdomain.com";
  # Your E-mail.

  $mailprg = "/usr/sbin/sendmail -t";
  # The path of E-mail system on your server. Contact your server if you don't know. DO NOT TAKE AWAY "-t"!

  $sendtomaster = 1;
  # Auto notify webmaster when new registration. 1=ENABLE 0=DISABLE

2.MODIFY send.htm
  http://www.yourdomain.com/card/card.cgi set to the same as "$cgiurl".

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

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

5.Now, you can start testing your "THANKS-CGI E-CARD".

6.After completing the above mentioned, you can modify all "*.htm" to change the outlook. You can create your own style!
  Notice: DO NOT change scripts begining with the following: "$" and "<!--.....-->".
            
#############################################################
# After setup of "THANKS-CGI E-CARD", 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.