A file download is not interpreted as HTML.
You can only output one set of headers. If you output the headers for the download first, you will never be able to send the user to another page to send more data to the user.
I suggest you learn HTTP and how the different content types and headers work.
In reply to Re^7: Perl CGI download file and redirect
by Corion
in thread Perl CGI download file and redirect
by Yaerox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |