FDF > PDF - Content-type: application/vnd.fdf

This is a discussion on FDF > PDF - Content-type: application/vnd.fdf within the PHP General forums, part of the PHP Programming Forums category; When loaded into a browser that can display PDF files (Win IE and Firefox, Mac Safari) the FDF file (snip ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-27-2006
Sam Smith
 
Posts: n/a
Default FDF > PDF - Content-type: application/vnd.fdf


When loaded into a browser that can display PDF files (Win IE and
Firefox, Mac Safari) the FDF file (snip below) should open linked PDF
and populated it with the data from the FDF file.

It works fine when the FDF file is loaded from within the browser
with "Open File" (or simply double-clicked from the desktop).

It works fine in Win IE (because IE doesn't play by the rules).

I just don't understand the header thing, the "Content-type" deal.

Why is the FDF file loaded as plain text when loaded via a URL?

<http://arraymedia.com/csz/pdf/ud/JO_SAFARI_FORM_AND_DATA/>


PHP creates the .fdf file:

Content-type: application/vnd.fdf
%FDF-1.2
%‚„œ”
1 0 obj
<<
/FDF << /Fields [ << /T (pg1_familyname1) /V (SMITH)>>

.... dozens of other fields...

<< /T (pdf_ExtraPages) /V (Additional other names from page 1 part
1 section C\rOTHER4 OTHER4 OTHER4 OTHER5 OTHER5 OTHER5)>> ]
/F (http://www.citizenshipzip.local/pdf/...FORM_AND_DATA/
sys/naturalization.pdf) /ID [ <138ff91476c2ae9c9f192e15ac50d7bf>
] >>
>>

endobj
trailer
<<
/Root 1 0 R

>>

%%EOF
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:03 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0