in reply to Re: redirection without CGI.pm
in thread redirection without CGI.pm
As your first print statement send:
As I said before, this returns incomplete HTTP headers, however it should provide the desired function in an emergency situation.print "Location: http://www.redirect.me/here\n\n";
Heres an example (redirects you to yahoo):
http://www.jerryfowler.net/redirect.cgi
And here's the code:
-Jerry#!/usr/bin/perl print "Location: http://www.yahoo.com\n\n";
|
|---|