IE Download Over SSL Error


Previous Code

<?php
header(‘Content-type: application/pdf’);
header(‘Content-Disposition: attachment; filename=”downloaded.pdf”‘);
readfile(‘original.pdf’);
?>

New Code

<?php
header(‘Cache-Control: maxage=3600’); //Adjust maxage appropriately
header(‘Pragma: public’);
header(‘Content-type: application/pdf’);
header(‘Content-Disposition: attachment; filename=”downloaded.pdf”‘);
readfile(‘original.pdf’);
?>

source:

http://elrems.wordpress.com/2008/03/05/php-header-pdf-document/