I have been searching on google () for ages for a script that does the following: mydomain.com/something.cgi?affid=lotsandlotsofcodeandnumbers which will direct to affiliate.com/lotsandlotsofcodeandnumbers any ideas thanks
#!/usr/bin/perl use strict; use warnings; use CGI; my $cgi = new CGI; my $affid = $cgi->param('affid'); print "Location: http://affiliate.com/" . $affid . "\r\n\r\n"; Code (markup): that should work...