Re: pdflib: unable to generate on the fly, need to write to file
| From: | Dominic Schanen | Date: | Fri, 26 Jan 2001 03:31:47 +0000 |
| Subject: | Re: pdflib: unable to generate on the fly, need to write to file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-36799@lists.php.net to get a copy of this message | ||
On Thu, 25 Jan 2001 18:42:41 -0700 (MST), webbie@server.deanox.com
wrote:
>I don't know, but I'd love to know the answer to this, too. I currently have
>to do the same as you: output to file and then direct the browser to the disk-
>based file. (Then I have to bother about file cleanup.)
I had pdflib version 3.03 and found the patch that Uwe talked about and
that fixed my problem with the creating pdfs out of memory. However,
with IE, you will need to create it from file so you can get the
document length so that IE displays the document appropriately. What I
do to get around this is create the document in a tmp folder with the
time stamp and then unlink the same file after I have appropriately
fpassthru() the file to the browser with the appropriate headers for IE
(Content-length).
--
Dominic