##########################################################################
##                                                                      ##
##                   Redirect URL Warning PHP Script			##
##            ---------------------------------------------             ##
##          Created by Robert Rodriguez @ www.robertrodriguez.net       ##
##		   E-mail: admin@robertrodriguez.net			##		
##                                                                      ##
##                                                                      ##
##  This script is free to use. You may redistribute it and/or modify   ##
##  it under the terms of the GNU General Public License as published   ##
##	by the Free Software Foundation.				##		
##									##							##									##
##  This script is distributed in the hope that it will be useful to    ##
##  those seeking a simple solution. However, this script is WITHOUT	##
##  ANY WARRANTY OR SUPPORT; without even the implied or expressed.	##			
##									##							##									##
##   The use of this script is done at the sole discretion you and the	##
##   owner of the website hosting this script.				##
##									##							##########################################################################

Setting up and installing this script is very easy and straight forward.

1. Edit the file 'redirect_config.class.php' located in the folder 'redirect_files' -> 'config'.

2. There are three variables you have to change. The first is the website name, the second is the page title of the actual redirect page, and the third is the redirect time. When changing the redirect time, only enter the seconds in which you wish the page to wait before redirecting the user.

3. After saving the file, upload all the files to your website. When you wish to redirect a user, simply making the url 'redirect.php?url=URL'. For example, if I wanted to redirect them to Bank of America's website, the URL would be 'redirect.php?url=bankofamerica.com'.

4. That's all!


## TEMPLATE CONFIGURATION ##	

This script is setup to operate off a template, that you can complete modify to match your website. 

The template is located in the folder 'template'.

When editing the template, you must ensure to include the following tags:

{{PAGE_TITLE}} = This will be replaced with the title of the redirect page.

{{WEBSITE_NAME}} = The name of your website

{{REDIRECT_TIME}} = Indicates to the visitot the number of seconds before they are redirected.

{{REDIRECT_URL}} = This will display the URL in which teh visitor will be redirected to.

Additionally, the redirect is handled using a simple javascript. Make sure that you copy the javascript to your new template, otherwise it will not redirect the user.

Good luck!
