#!/usr/bin/perl # #!/usr/local/bin/perl # ^~~ use this on top instead if script not working # Form Redirect v1.1 June 2004 # by NESGamepro - http://nescgi.com # Please keep credit intact # You may modify this script if you wish # Rename this file to anything.pl or anything.cgi and Change # Permissions (CHMOD) to 755 $DefaultUrl = "http://nescgi.com"; use CGI qw(param); $url = param('url'); if (!$url || $url eq "http://") { $the_url = $DefaultUrl; } else { $the_url = $url; } print "Location: $the_url\n\n"; exit;