Re: Correct headers for I.E. to open PDF?
| From: | Octavian Rasnita | Date: | Fri, 03 Sep 2004 20:57:21 +0000 |
| Subject: | Re: Correct headers for I.E. to open PDF? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195783@lists.php.net to get a copy of this message | ||
This has nothing to do with PHP or the server, but with the way the client
computer is configured.
If the user doesn't want to open a .pdf file in the browser but to be
prompted for saving the file, that's the way he will have it.
...fortunately.
Teddy
Teddy
----- Original Message -----
From: "Paul Danko" <pdanko@gotoami.com>
To: <php-general@lists.php.net>
Sent: Friday, September 03, 2004 10:05 PM
Subject: [PHP] Correct headers for I.E. to open PDF?
I have searched the net, and found tons of developers with different
solutions to this problem, none of which I have found to work.
What should the headers be for a client to download a PDF document and
have it open using adobe i.e. pluggin??
Here is code I am using, it works on some versions of I.E., but not all:
$pdfdoc = $__BASE_PDF_BUILD_DIRECTORY.$_GET['FID'];