For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > July 2005 > redirect to referrer









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author redirect to referrer
ng

2005-07-24, 8:18 pm

I don't know anything about perl yet, but I have a perl script that
redirects to a specific page that is designated in a variable. The line
in the script that redirects to the specified page is:
print qq~Location: $redirect\n\n~;

I'd like to have it redirect to the same page that called the script.
How would I do that?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com