note 58821 deleted from function.header by bjori
| From: | bjori@php.net | Date: | Mon, 27 Mar 2006 09:44:21 +0000 |
| Subject: | note 58821 deleted from function.header by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106706@lists.php.net to get a copy of this message | ||
Note Submitter: ron at emunications dot com
----
I was trying to download a PDF and, under IE 6, if you chose to DL to a temp file and then open it
on-the-fly (as opposed to saving to a permanent file) Adobe Reader could not find it. I think it
never really got saved to temp. It worked great under Safari.
Thanks to "brian at pjcservices dot com", I tried adding the two extra headers and it
started working. They are:
header("Cache-Control: cache, must-revalidate");
header("Pragma: public");
See his full explanation from Oct. 27. I just wanted to record my specific problem with PDFs in case
anyone experiences the same.
Thanks again, Brian!