From: <mi...@be...> - 2007-02-26 17:00:50
|
No, this is stock Yum apache and php... Adding a header with the application/pdf mime does not work either... -----Original Message----- From: "Brian Morton" <bm...@se...> Subj: Re: [Rlib-users] pdf problems Date: Mon 26 Feb 2007 17:47 Size: 2K To: "Michiel Betel" <mi...@be...>,<rli...@li...> 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 CVS) I can't get pdf output working. I compiled the source without errors on a up to date fedora core 5 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 obj << /Type /Font /Subtype /Type1 /Name /Frpdf0 /BaseFont /Courier /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 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=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Rlib-users mailing list Rli...@li... https://lists.sourceforge.net/lists/listinfo/rlib-users ------------------------------------------------------------------------- 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=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rlib-users mailing list Rli...@li... https://lists.sourceforge.net/lists/listinfo/rlib-users --- message truncated --- |