#######################
# randomquote.cgi 1.0 README
#
# By Command-O Software
# http://www.command-o.com
# Programmer: Kendall Comey
#
# For support, write: support@command-o.com
#Copyright 1997
# All Rights Reserved
########################
This script will insert a random quote into your shtml file.

###
General Instructions
###
Install randomquote.cgi in your cgi-bin and chmod to 755. Install
cgi-lib.pl (if you don't already have it) in your cgi-bin and chmod to
755.

Design the html page you want to insert the random quote into. Where you
want the
quote to appear put <!--#exec cgi="/cgi-bin/randomquote.cgi"-->. Make sure
server side includes are enabled on your server. Make sure the suffix on
your page is .shtml.

Either upload a quote.file or go to the admin page to add quotes to your
quote.file directly from your web browser.

###
Variables to Set
###
$quote_file = "/usr/local/etc/httpd/htdocs/demos/quote.file";
This is the system path to your quote.file.

$server1 = "freescripts.com";
$server2 = "www.freescripts.com";
This is the name of your server, so others can't run your script remotely.

$password = "freescripts";
This is the password for your admin page. To access the admin page, call
the script directly with a url like so,
http://your_server.com/cgi-bin/randomquote.cgi?admin=your_password.

That's all there is to it! Enjoy!

