Re: [PHP + PDFLib] PHP "streaming" of PDF files

From: Date: Wed, 15 Nov 2000 22:16:21 +0000
Subject: Re: [PHP + PDFLib] PHP "streaming" of PDF files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25534@lists.php.net to get a copy of this message
Can you try it in Netscape instead? Florent SOULIERE wrote: > Hi, > > My problem is quite strange, and nobody seems to talk about this, both at > php.net and pdflib.com. > I use the latest public release of PHP, and PDFLib 3.0.2. > All that I want is to generate PDF files "on the fly" using these tools. As > the compilation process succeeded, I tried to test the really simple > sample file given in the PHP doc ("Times Roman outlined"). > The problem is: when I use the getpdf.php file, IE 5 loads the Acrobat > Reader AcriveX plugin, but the frame remains blank (no Acro' toolbar). So I > tried to use the fpassthru and readfile functions to transmit a few other > PDF files I had (manuals, licenses, tech docs)... and it worked. On the > other hand, when I store the PDFLib-generated file locally (using HTTP > transmition), Reader reads the sample PDF file successfully. > > So, thank you in advance if you can help. > > Here is a few other details : I tried both Zlib and no-Zlib support for PDFLib, > but it always fails. One stranger thing is that the sample file generated by > PDFLib's "make test" works fine with fpassthru/readfile functions. > Finally, when a "real" Acrobat Reader session is active on the same > machine, it stalles (as if there was a kind of infinite loop). > > -- > Florent SOULIERE. > florent.souliere@free.fr > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- ========================== Michael Kimsal http://www.tapinternet.com PHP Training courses http://www.tapinternet.com/php

« previous php.general (#25534) next »