in reply to Re^6: Perl CGI download file and redirect
in thread Perl CGI download file and redirect
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Perl CGI download file and redirect
by Yaerox (Scribe) on Nov 20, 2014 at 07:21 UTC |