Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have a doubt. This's a perl question.
I am keeping a html file in my server. The action for that form is to call a url(different domain). But it should not display the URL in the browser. How can i do that?
I tried like this... but it failed..
Htmlo.pl<HTML> <HEAD><TITLE>One.... </TITLE></HEAD> <BODY BGCOLOR="#FFFFFF"> <form method="post" action="/cgi-bin/o.pl" > <input type="submit" name="submit" value="submit"> </form> </BODY> </HTML>
#!/usr/bin/perl $dest = "http://yahoo.com"; print "Status: 302 Found\n" . "Location: $dest\n\n";
Using this example,
My idea is to display the yahoo page, but in the browser yahoo.com will not be displayed.
How can i do that?
Please try to give a solution for this...
20030526 Edit by Corion: Added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Redirected URL will not be displayed in the browser
by Tanalis (Curate) on May 26, 2003 at 13:17 UTC | |
|
Re: Redirected URL will not be displayed in the browser
by dws (Chancellor) on May 26, 2003 at 15:56 UTC | |
|
Re: Redirected URL will not be displayed in the browser
by gazpacho (Acolyte) on May 26, 2003 at 18:14 UTC |