Hi,
i am working on a download script (PERL) and i encountered a problem where i try to do two things -
after visitors entered their name, email address, the srcipt supposes to 1) echo a thankyou page and 2) let the visitor to download the file.
what i did in my script is like this...
...
print "thank you!\n\n";
print "Location: $download/$file";
...
but i got --
thank you
Location: the/actual/value/of/the/file
and this is not what i want.
Can someone help?
thanks a lot!
Gary
i am working on a download script (PERL) and i encountered a problem where i try to do two things -
after visitors entered their name, email address, the srcipt supposes to 1) echo a thankyou page and 2) let the visitor to download the file.
what i did in my script is like this...
...
print "thank you!\n\n";
print "Location: $download/$file";
...
but i got --
thank you
Location: the/actual/value/of/the/file
and this is not what i want.
Can someone help?
thanks a lot!
Gary