Приглашаем посетить
Кантемир (kantemir.lit-info.ru)

WebDirect

#######################################################################
#                                                                     #
#                webdirect.cgi - v1.1 - 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 commercial use, a    #
# payment is required.  See The Scripts Home at                       #
# "http://www.virtualcenter.com/scripts2" 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 vmt@airmail.net.  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
-----------------------

The only major changes to this version are that it no longer requires the
cgi-lib.pl or cgi-test.pl libraries and has been renamed webdirect.cgi so
as to be compatible with directories that will only recognize Perl scripts with
the .cgi extension.  This should aid in installation of this program as no
other programs are needed for this to run.



INSTRUCTIONS FOR SETTING UP THE WEBDIRECT.CGI SCRIPT

This script requires atleast Perl v4 to run.  Place it in your cgi-lib
directory on your web server and "chmod 755" to turn it into an
executable script.

When you wish to redirect your visitors in ways other than static links,
just set up a simple form.  You start a form with:

<form method=post action="/cgi-bin/webdirect.pl">

Make sure that the path within the quotes after "action" should be
the path to the webdirect.pl script.  Next, use any type of form
spec to call the script.  Just make sure the name of the selection
is "url" and the value is the complete web address of the site you
wish to send them to if they select it.

For instance, if you wish to have two radio buttons, one that goes to
Yahoo! and one that goes to Lycos.  It would look like this:

<form method=post action="/cgi-bin/webdirect.pl">
Where would you like to go?<p>
<input type=radio name="url" value="http://www.yahoo.com"> Yahoo! 
<input type=radio name="url" value="http://www.lycos.com"> Lycos<p>
<input type=submit value="Go!"><p></form>

You can go by the example form in WebDirect.html for an idea of how to set 
up your own.

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.  These scripts
are provided at no charge for personal, non-commercial use and 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.