Re: pdf problems

<[email protected]> Mon, 26 Feb 2007 18:00:00 +0100
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
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" <bmorton-gZzCISP20qyEK/[email protected]>
Subj:  Re: [Rlib-users] pdf problems
Date:  Mon 26 Feb 2007 17:47
Size:  2K
To:  "Michiel Betel" <[email protected]>,<[email protected]>

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: rlib-users-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:rlib-users-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Michiel
Betel
Sent: Monday, February 26, 2007 11:37 AM
To: [email protected]
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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rlib-users

--- message truncated ---



-------------------------------------------------------------------------
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