Veinotte's Scripts - Header
Put some power in your Web Site
Action & Interaction
with Veinotte's Scripts.
        September 08, 2008    2:20 pm AST   September 08, 2008    2:20 pm AST



Pass It On !



 Veinotte.com's
Site Wide
Directory



Ad Eagle Suite Advertising Software!

Send Them II - Reame File

© 2003 Veinotte.com
Redirection script.

This script has been tested on UNIX, NT, Win2000. Will not Run on Win98 without modifications.

A simple redirection script to allow redirect forms on your website without having to use JavaScript. This script also makes it easy to use one form throught your site if
you have SSI enabled on your website. Just place a form like the one below in a text file somewhere and call it with an ssi call in all the pages you want to use it in:

<!--#include virtual="/home/usr/htdocs/send.txt" -->

Just make the call above make sense on your system. It should be a direct system path to the text file.

This allow you to edit one text file when adding a new URL instead of editing each HTML file.

You can also use this program without a form like so:
http://www.yourdomain.com/cgibin/sendthem/send.cgi?page=http://www.veinotte.com

You just change the ?page=http://www.veinotte.com to whatever page you are sending them to like so:
http://www.yourdomain.com/cgi-bin/sendthem/send.cgi?page=http://www.another.com

Here is an example of the form use in your pages or in a text
file with SSI

<form method="post" action="/cgi-bin/send.pl">
<select name="page">
<option value="www.veinotte.com/">Veinotte.com</option>
<option value="www.cgi.veinotte.com/">CGI / Perl</option>
<option value="www.member-manager.veinotte.com/">Member Manager II</option>
<option value="www.ad-eagle.com/">Ad Eagle Software</option>
<option value="www.veinotte.com/lamour/">Lamour Site</option>
<option value="www.veinotte.com/main.htm">Site Wide Directory</option>
</select>
<input type="submit" value="Go">
</form>

One more note: If you wanted the page to open in a new window, or another frame just
add a target to the first line like so:

<form method="post" action="/cgi-bin/send.pl" target="_blank">


Upload the following files in the sendthem directory in your cgi-bin:
send.cgi chmod 0755
sendthem.htm chmod 0644
sendthem.lck chmod 0666
sendthem.log chmod 0666
passwd.pwd chmod 0666
SendThem.pm chmod 0644
admin.cgi chmod 0755

Set the file permissons as written above.

Open SendThem.pm in your favorite text editor and carefully set the correct configurations.

Create your template file for external redirects or use the one with the package to start with.
The following tags must be present in the file:

First in the head:

<meta http-equiv="refresh" content="%%METAPAUSE%%;url=%%REDIRECTPAGE%%">

Then in the body:
%%REDIRECTMESSAGE%% This is replaced with the $redirect_message that you set in the script

<A href="%%REDIRECTPAGE%%">%%REDIRECTPAGE%% </a>
This one creates a link to the page they are being sent to.



 If you require additional support, you may purchase a members area subscription here.


 

Join our mailing list to be notified of upgrades, 
bug reports and new product additions.
Enter your email address below.


You can remove yourself at any time
http://odt.veinotte.com


  
 
            This site is a © production of Veinotte.com.
Contact Webmaster with questions or comments regarding this site.