[BNM] php headers for pdf-1.4

Jason Bailey j.bailey at sussex.ac.uk
Tue Feb 5 13:17:22 GMT 2008


Hello,

Does anyone else have problems displaying pdf-1.4 documents in browsers. 
I'm drawing blob data (print $data) from a database and (I set the headers 
before printing the data) setting headers including type etc. i'm googling 
about but it seems that if I set this header:
Content-Type: application/pdf-1.4 then the pdf is fine. Most pdfs are fine.

If I set it to Content-Type: application/pdf then the pdf-1.4 document 
doesn't open but displays as text. For some reason too the mime type is 
being detected as text/plain

Actually it might be OK now; does this problem ring a bell to anyone?

Jason

-- 
Jason Bailey
IT Services
University of Sussex
http://www.sussex.ac.uk/USIS/phone/details.php?id=17011


More information about the BNMlist mailing list. Powered by Wessex Networks