PDF reading via IE5.5
| From: | Dennis Moore | Date: | Wed, 21 Mar 2001 04:13:50 +0000 |
| Subject: | PDF reading via IE5.5 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-44870@lists.php.net to get a copy of this message | ||
I have searched long and hard to resolve this issue. I've tried many
variations for the header tag. However, I cannot seem to get it to work
with IE5.5.
I am trying to read an Acrobat created PDF file that I uploaded into my
MySQL database.
The problem occurs when I print the data via IE5.5.
<?php
header("Content-type: application/pdf");
header("Content-Disposition: attachment; filename=$name");
print $data;
?>
All I get is echoing of the binary to the browser.
Any ideas or suggestions?
/dkm