I have a form where, when the user clicks the download button, the get_file.php script returns the specified php file. In ffx, when I disable the adobe plugin, a download window will appear with the correct file name. In IE8, for some reason I cannot disable the adobe plugin, so it always opens in the browser. This works fine, however, in both ffx and IE8, when I click the save button on the adobe toolbar, I get the wrong file name. I get get_file.pdf.
I am using adobe reader 8.
These are the headers I set:
header("Cache-Control: private"); header("Pragma:"); header("Content-type: application/pdf"); header("Content-Disposition: inline; filename=$pdfFileName");
Thanks!
firefox internet-explorer pdf adobe-reader
Diego
source share