From: Brian M. <bm...@se...> - 2007-02-26 16:45:32
|
It looks like the script isn't sending a content-type header. Browsers will output the raw pdf content if they do not see a content-type header indicating it is an application/pdf. Have you made any modifications to you apache or php config from the stock Fedora package? Did you compile either apache or php yourself? -----Original Message----- From: rli...@li... [mailto:rli...@li...] On Behalf Of Michiel Betel Sent: Monday, February 26, 2007 11:37 AM To: rli...@li... Subject: [Rlib-users] pdf problems Hi, When trying to output pdf's with either 1.3.7 (tarball) of 1.3.8 (from=20 CVS) I can't get pdf output working. I compiled the source without errors on a up to date fedora core 5=20 machine. I use php 5.16 and html & text output works fine but when outputting pdf I get the (error?) output in my browser - here's the first few lines from the hungary example: %PDF-1.3 1 0 obj << /Type /Pages /Count 1 /Kids [ 6 0 R ] >> endobj 2 0=20 obj << /Type /Font /Subtype /Type1 /Name /Frpdf0 /BaseFont /Courier=20 /Encoding /WinAnsiEncoding >> endobj 3 0 obj << /Type /Outlines /Count 0 >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj <> stream 1.0000 0.0000=20 0.0000 1.0000 0.0000 792.0000 cm 0.0000 -1.0000 1.0000 0.0000 0.0 0.0 cm BT /Frpdf0 9.000 Tf 1.0000 0.0000 -0.0000 1.000 What can be wrong here? Michiel ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Rlib-users mailing list Rli...@li... https://lists.sourceforge.net/lists/listinfo/rlib-users |