# dcguest97.setup # Setup file for DCGuest97 Script # Written By David S. Choi, dc@sitedeveloper.com # 16 November 1997 # ########## YOU MUST KEEP THIS COPYRIGHTS NOTICE INTACT ############### # Copyright ©1997 DCScripts All Rights Reserved # As part of the installation process, you will be asked # to accept the terms of this Agreement. This Agreement is # a legal contract, which specifies the terms of the license # and warranty limitation between you and DCScripts and DCGUEST97. # You should carefully read the following terms and conditions before # installing or using this software. Unless you have a different license # agreement obtained from DCScripts, installation or use of this software # indicates your acceptance of the license and warranty limitation terms # contained in this Agreement. If you do not agree to the terms of this # Agreement, promptly delete and destroy all copies of the Software. # # Versions of the Software # You may install as many copies of DCGUEST97 Script. # # License to Redistribute # Distributing the software and/or documentation with other products # (commercial or otherwise) or by other than electronic means without # DCScripts's prior written permission is forbidden. # All rights to the DCGUEST97 software and documentation not expressly # granted under this Agreement are reserved to DCScripts. # # Disclaimer of Warranty # THIS SOFTWARE AND ACCOMPANYING DOCUMENTATION ARE PROVIDED "AS IS" AND # WITHOUT WARRANTIES AS TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER # WARRANTIES WHETHER EXPRESSED OR IMPLIED. BECAUSE OF THE VARIOUS HARDWARE # AND SOFTWARE ENVIRONMENTS INTO WHICH HKDBOARD MAY BE USED, NO WARRANTY OF # FITNESS FOR A PARTICULAR PURPOSE IS OFFERED. THE USER MUST ASSUME THE # ENTIRE RISK OF USING THIS PROGRAM. ANY LIABILITY OF HKDESIGN WILL BE # LIMITED EXCLUSIVELY TO PRODUCT REPLACEMENT OR REFUND OF PURCHASE PRICE. # IN NO CASE SHALL DCSCRIPTS BE LIABLE FOR ANY INCIDENTAL, SPECIAL OR # CONSEQUENTIAL DAMAGES OR LOSS, INCLUDING, WITHOUT LIMITATION, LOST PROFITS # OR THE INABILITY TO USE EQUIPMENT OR ACCESS DATA, WHETHER SUCH DAMAGES ARE # BASED UPON A BREACH OF EXPRESS OR IMPLIED WARRANTIES, BREACH OF CONTRACT, # NEGLIGENCE, STRICT TORT, OR ANY OTHER LEGAL THEORY. THIS IS TRUE EVEN IF # DCSCRIPTS IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO CASE WILL # DCSCRIPT'S LIABILITY EXCEED THE AMOUNT OF THE LICENSE FEE ACTUALLY PAID # BY LICENSEE TO DCSCRIPTS. # # Credits: # This script uses mail-lib.pl written by Gunther Birznieks. # Date Created: 2-22-96 # Date Last Modified: 5-5-96 # ########################################################################### # location of your cgi directory # use relative path if it works $cgidir = "."; require "/home/sites/hinduweb.org/pm/ads.pl"; $headbanner = HindunetAds::insertTopAd('ad5524a', 1); $footbanner = HindunetAds::insertBottomAd(1); # url of where your dcguest97.pl is located $scripturl = "http://www.hindunet.org/cgibin/dcguest97/hu_guestbook"; # dcguest97 script url $dcscript = "$scripturl/dcguest97.cgi"; # location of template file - don't need to change if you place all # the files in the same directory $booktemplate = "$cgidir/guestbook.htmlt"; # location of your data file # You must create this sub directory and make it 777 $datadir = "$cgidir/Data"; # data file path and name - no need to create it # make sure this file is 666 $datafile = "$datadir/guestdata.txt"; # counter file # make sure this file is 666 $counter = "$datadir/guestcount.txt"; # number of guest to view per page $num_view = 25; # Option to send notification to the admin # and to the guest $admin_email = "admin\@hindunet.org"; # If you don't want to use it, set these "off" $send_mail_to_admin = "on"; $send_mail_to_guest = "on"; # controls the message table $bgcolor = "#000000"; $text_color = "#FFCC33"; # Define various Headeres and Subheaders for each page # The main page $display_guest_header = "Thank you for Visiting Hindu Universe."; $display_guest_sub_header .= qq~ [ Please Sign Hindu Universe Guestbook ] [ The Hindu Universe ]