I'm trying to issue a redirect that forces users to a location to download a file. The location of the file will not change, just in a type thing. Just to get the redirection working first, I tried using:
print $cgi->redirect("http:// .. /temp.txt"
;
but all this does is print:
Status: 302 Moved Location: http:// .. /temp.txt
on the .html page.
It prints the correct url, but the print statement is all I get. No redirection takes place.
What am I missing?
Thanks
print $cgi->redirect("http:// .. /temp.txt"
but all this does is print:
Status: 302 Moved Location: http:// .. /temp.txt
on the .html page.
It prints the correct url, but the print statement is all I get. No redirection takes place.
What am I missing?
Thanks