#######################################################################
#                                                                     #
#                 graffiti.cgi - v3.0 - by Michael Hall               #
#                                                                     #
#         Copyright 1996 by Virtual Marketing Technologies.          #
#                         All Rights Reserved.                        #
#                                                                     #
# The user of this script is licensed to use this script on one       #
# machine only for non-commercial use only for a trial period of      #
# thirty (30) days.  After that time, user is requested to pay the    #
# shareware fee to continue using the script.  For commercial use, a  #
# payment is required.  See The Scripts Home at                       #
# "http://www.scriptshome.com" for more details.  Use of              #
# this script means acceptance of this license agreement.  Commercial #
# use of this script without payment is a violation of copyright laws #
# and subject to fines and/or prosecution.  If you have questions     #
# regarding the use of this script for commercial purposes, please    #
# e-mail scripts@scriptshome.com.  The author of this script cannot   #
# be held responsible for any errors or cause of loss due to this     #
# program.  Use of this program is provided as is.  No other          #
# warranties are expressed or implied.                                #
#                                                                     #
# If you do not pay for a license to use this program, you may not    #
# edit out any sections of this script that give credit and links to  #
# the author, The Scripts Home, and Virtual Marketing Technologies.   #
#                                                                     #
#######################################################################

CHANGES IN THIS VERSION
-----------------------

This version has been completely rewritten from the ground up and contains
a completely different way of storing data.  It no longer writes the comments
directly to the index.html file.  Instead, it keeps the comments in a data
file that it reads from when displaying the graffiti wall.  The admin can
specify the maximum number of comments kept at any one time.  After that time,
the oldest comment is deleted in order to make room for the newest comment.
A profanity filter has also been included to allow the system to scan for any
words the admin would prefer not to have posted on the graffiti wall.


README File for Setting up the graffiti wall.

Look through the script and make the adjustments mentioned in the comments.
Primarily, these places are at the beginning of the script.  You'll need to
edit the two variables "$BaseDir", "$CGI_URL", and "$MaxMsgs".  "$BaseDir"
should point to your graffiti wall directory where the datafile will be
stored.  "$CGI_URL" should point to the full URL where your graffiti wall
script is stored.  Make sure your directory specified in "$BaseDir" has the
proper permissions set to write to this directory ("chmod 777").  Make sure
you "chmod 755" the graffiti wall script specified in "$CGI_URL".

You'll want to modify the "$Header" and "$Footer" variables by putting in the HTML
that you want displayed at the top ($Header) and bottom ($Footer) of the page.
Make sure you put a "\" backslash before every quote " in these variables or your
Perl program will encounter errors here.

If you wish to allow users to include HTML commands in their comments, set the "$AllowHTML"
variable to "1".  Otherwise, a "0" in this spot will automatically filter out any HTML
that a user tries to use in the comments.


NOTICE ON SUPPORT
-----------------

Support is available only to those who purchased support when they purchased this script.
To gain that support, simply send an e-mail to "vmt@airmail.net" and include
the support number you got with the e-mail for this script.

If you did not purchase the support but find you are having problems, a special
message forum has been set up in The Scripts Home at "http://www.virtualcenter.com/scripts2"
for those needing help.  If you are able to successfully setup this program, please stop
by these message forums and help others set them up.

If you need help, please post a message to this message forum.  DO NOT send e-mail to the
author or Virtual Marketing Technologies unless you have purchased a license.  We simply 
don't have the resources to provide further support at no charge.


NOTICE ON INSTALLATION
----------------------

Installation of this program is available from Virtual Marketing Technologies at the
standard rate of $50/hour (minimum 1 hour).  If you find it too difficult to install
this program on your own, you may request custom installation.  $50 is due immediately
before installation can be started.


NOTICE ON PAYMENT
-----------------

If you choose to use this script on your web site, please send a check or money order for
$10.00 to Virtual Marketing Technologies, P.O. Box 592, DeSoto, TX  75123.  This fee allows
you to use this script in one form on one domain for one site only.  Each additional copy
or site or domain must be registered as well.  No technical support is available for this
software regardless of whether the registration fee is paid.

