Hi
I'm having trouble using perl to redirect a browser to another page.
If the script has the line

print "Content-type:text/html\n\n";

in it first, the redirect doesn't work.
e.g.
print "Location:http://www.mysite.com/page.html\n\n";;

I want to use it in a long script which will either redirect or print html,
depending on variables.
Is it possible to explicitly change the print content-type when I want to
use a redirect, and what would I change it to?


Thanks
Carl

www.fireartist.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to