##############################################################################
# Genie                           Version 1.5                                #
# Copyright 1997-1998 The Puppet Master <pmaster@bwis.com>                   #
# Created 05/04/97                Last Modified 06/01/97                     #
##############################################################################
# COPYRIGHT NOTICE                                                           #
# Copyright 1997 - 1998 The Puppet Master  All Rights Reserved.              #
#                                                                            #
# Genie may be used and modified free of charge by anyone so long as this    #
# copyright notice and the comments above remain intact.  By using this      #
# code you agree to indemnify The Puppet Master from any liability that      #
# might arise from its use.                                                  #
#                                                                            #
# Selling the code for this program without prior written consent is         #
# expressly forbidden.  In other words, please ask first before you try and  #
# make money off of my program.                                              #
#                                                                            #
# Obtain permission before redistributing this software over the Internet or #
# in any other medium.	In all cases copyright and header must remain intact #
##############################################################################

Genie is an online magic trick.  I've been a fan of magic since I was about 
8 years old.  This script is designed just to beef up your page a little.
Your visitors will most likely ask you how you did it...  Always respond 
with "Can you keep a secret?"  When they say "Yes!"... Say "So can I!"

The script, genie.pl, needs to be placed in your server's cgi-bin and the 
permissions must be set to read/execute (755).  
If you don't have access to your servers cgi-bin, you may put this script
in your own directory, and you will most likely need to rename it to 
genie.cgi.

Setting Up the Genie Script:
===============================

The Genie.pl script does not have to be extensively configured in order 
to work.  There are only three variables in the perl file which you will 
need to define along with changing the top line of your script to match 
the location of you Perl interpreter.

$baseurl is the location of your main page.  

EXAMPLE: 
$baseurl = "http://www.server.com/~yourname/";

If a filename is required to load your page (i.e. index.html), add it to the 
end as well.

EXAMPLE: 
$baseurl = "http://www.server.com/~yourname/index.html";

$genieurl is the location of where you placed the genie.gif image file.  
This is usually a graphics directory (where you keep all your images).

EXAMPLE:
$genieurl = "http://www.server.com/~yourname/graphics/";

$method is the method to use (POST or GET) for the return button.  Some servers
allow POST, others only allow GET.  Try POST first, and if you get an error
when pressing the RETURN to ???? Page, change $method to GET.  

#DONE WITH THE SCRIPT

The genie.html only requires one modification.

You must change the ACTION tag to point to the location of the script.
The method must be POST in capital letters.  

#DONE WITH THE HTML

Your online GENIE magic trick is now configured and you are ready to amaze 
your friends.

The Puppet Master <pmaster@ravensclaw.com>

Copyright 1998 - All Rights Reserved
