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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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/ud/SAM_SMITH_FORM_AND_DATA/ sys/naturalization.pdf) /ID [ <138ff91476c2ae9c9f192e15ac50d7bf>
] >>
>>
endobj
trailer
<<
/Root 1 0 R

>>
%%EOF
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux