Some clients can't see PDF
| From: | Miles Thompson | Date: | Mon, 03 Dec 2001 15:33:46 +0000 |
| Subject: | Some clients can't see PDF | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-76384@lists.php.net to get a copy of this message | ||
I'm using this in a script to send pdf files from Apache:
<?
// get the $pdf_name and $len of the $pdf_name
// stuff up here, and then ...
header("Content-Type: application/pdf");
header("Content-Disposition: inline; filename=$pdf_name");
header("Content-Length: $len");
readfile($pdf_name);
?>
About 6 out of 300 subscribers cannot see the PDF, although they can download and view other PDF's from the site, or from other sites. I'm also aware of the note regarding IE in the Manual, and am contacting them to determine what browser/version they are using.
In the meantime, does anyone have any other suggestions?
Regards - Miles Thompson