Re: Re: header() function for displaying an opened PDF document.
| From: | Chris Hayes | Date: | Tue, 14 Oct 2003 13:01:21 +0000 |
| Subject: | Re: Re: header() function for displaying an opened PDF document. | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-166059@lists.php.net to get a copy of this message | ||
It might help to have a peek at how the php Pdf libraries are doing this (www.php.net/pdflib, fpdf.org, www.ros.co.nz/pdf) . There are a lot of things to worry about with pdf, not the least the fact that older acrobat readers will give plenty of errors when the page is not send fast enough and many other reasons.
The safest workaround might be to save the pdf on the server, and then use headers to tell the browser where to find it.
At 14:55 14-10-03, you wrote:
Well, now, I get an unknown file type. I have already specified thebrowser to"Scott Fletcher" <scott@abcoa.com> wrote in messagenews:20031013210743.86299.qmail@pb1.pair.com...I seem to be having problem with sending the PDF document to the'Windows cannot open this file'.be open on screen. I kept getting the error message, it say