Gossamer Forum
Home : General : Perl Programming :

print location

Quote Reply
print location
Greetings,

I am working on modifying a script that after a form has been submitted it prints a thank you screen. I am trying to get it to just redirect to the page the user started from. I have the original URL as a hidden variable in the form, but I don't know how to redirect to it.

I remember a print location command or something along those lines but I don't remember the syntax or how to set it up.

Anybody know what I am talking about?
Quote Reply
Re: print location In reply to
Code:
$url = "http://www.yahoo.com";
print "Location: $url\n\n"
and
Code:
print "Location: http://www.yahoo.com\n\n"


------------------
find.virtualave.net
Quote Reply
Re: print location In reply to
FANTASTIC! Works like a charm. Thanks for your assistance. I was screwing it up by using print location "...

-Norm