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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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'];

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to