troubleshooting Question

Redirected URL will not be displayed in the browser...

Avatar of r_kar
r_kar asked on
Perl
20 Comments1 Solution428 ViewsLast Modified:
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..

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

o.pl
----
#!/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 (say , keep previous url instead of the actual one).
How can i do that?
Please try to give a solution for this...
Thanks
r_kar
ASKER CERTIFIED SOLUTION
muff

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 20 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 20 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros