in reply to header (-type=>'application/x-octet-stream') and header (-type=>'plain/html') don't play nicely together

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.

  • Comment on Re: header (-type=>'application/x-octet-stream') and header (-type=>'plain/html') don't play nicely together
  • Download Code