Veinotte's Scripts - Header
Custom programming is our specialty!
Contact us for a quote.
         July 04, 2008    10:14 am AST   July 04, 2008    10:14 am AST

Need a customized redirection solution?
Contact us
for a quote!


Pass It On !

Veinotte.com's
Ultra Recommender




 



Ad Eagle Suite Advertising Software!

Send Them! 1.0

This script is a basic redirect script that allows you to place redirect forms on your pages without using java script. You can put forms on each page, or if you can use SSI on your site, simply make one text file containing the form, and then any time you want to add URLs you just have to edit the single text file!

Configuration:

The first line of the script must be the correct path to Perl, as with all such scripts:
#!/usr/bin/perl

Need a customized redirection solution? Write us for a quote!

Get all of our programs for one low yearly subscription fee! Click here to get your members area subscription.

The only other required items are,

@okay_domains = qw(veinotte.com pass-iton.com perlplus.com);

This is an array containing domains that can use this script. If you have one domain, just use that. If you are using the script from more than one domain, add each one seperated by a space. Anyone trying to use the script from a domain that is not in the list with be redirected to your $home_url 

$homeurl = 'http://www.veinotte.com/';

As stated above, the home URL is used if someone tries to call your script when they shouldn't. Just point it to your front door.

That's it for the configuration!

Your form should look like this:

<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</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>

Again, if you can use SSI you can make a text file containing the form and then

call it with SSI allowing you to change all of the forms on your site by editing the one text file.

The call in your pages that you would use to impliment this method would look like this:

<!--#include virtual="/home/path/to/textfile.txt" -->

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"> 

You should also check out Send Them II!

--> Download all of our programs by purchasing a members area subscription! It is only $39.95 per year and you have access to all of our programs as well as free installation of each of them whenever you wish!

Not interested in subscribing? Buy it now for just $5.95 USD:

 


Need more information?
View the Contact Page or write to
Support

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

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