Presuming I get what you're asking . . . erm, you can't do that. The usual method of doing this is to provide a refresh (e.g. print a <meta http-equiv="refresh;blah"> (whatever the actual header is; that's not it) header) that sends the browser to the download location after you've displayed whatever content you want the user to see.
In reply to Re: header (-type=>'application/x-octet-stream') and header (-type=>'plain/html') don't play nicely together
by Fletch
in thread header (-type=>'application/x-octet-stream') and header (-type=>'plain/html') don't play nicely together
by gmacfadden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |