{"id":1565,"date":"2018-01-19T19:22:59","date_gmt":"2018-01-19T19:22:59","guid":{"rendered":"http:\/\/goofy-trucks.flywheelsites.com\/fdf-support-in-php\/"},"modified":"2018-01-19T19:24:53","modified_gmt":"2018-01-19T19:24:53","slug":"fdf-support-in-php","status":"publish","type":"post","link":"https:\/\/phpbuilder.com\/fdf-support-in-php\/","title":{"rendered":"FDF Support in PHP"},"content":{"rendered":"<div class=\"phpbuilder-content\">\n<div class=\"phpbuilder-meta\">\n<div class=\"\">By Uwe Steinmann<\/div>\n<div class=\"\">on November 16, 2000<\/div>\n<\/p><\/div>\n<div id=\"overflow-content\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/phpbuilder.com\/wp-content\/uploads\/2018\/01\/uwesteinmann.gif\" alt=\"picture of Uwe Steinmann\" class=\"articleAuthorImg\" width=\"100\" height=\"91\" border=\"0\" align=\"left\"\/><\/p>\n<h2>Motivation<\/h2>\n<div class=\"articlePara\">\nInteraction on the WWW often means filling out forms, hitting the submit<br \/>\nbutton and getting a certain result. HTML and HTTP provide a mechanism to perform<br \/>\nthis quite easily through forms. PHP has support for this<br \/>\nmechanism in a very convenient way. The<br \/>\nvalues of each input field are stored in PHP variables, with the same<br \/>\nname as the input field.<\/div>\n<div class=\"articlePara\">\nA mechanism quite similar has been developed by<br \/>\n<a href=\"http:\/\/www.adobe.com\/\" target=\"_blank\">Adobe<\/a>, but for PDF documents. They simply<br \/>\ncall it Acrobat Forms. From the users point of view, the only difference in HTML<br \/>\nforms and Acrobat forms is their appearance. The first one<br \/>\nuses HTML documents, while the second one uses PDF documents to present<br \/>\nthe form.<\/div>\n<div class=\"articlePara\">\nFor developers of web interfaces, Acrobat Forms can be handled<br \/>\nlike HTML forms, if the form provides its input data as HTML forms.  However, Adobe<br \/>\nhas introduced a new format for form data called FDF (Form Data Format).<br \/>\nPHP already includes support for this format.<\/div>\n<div class=\"articlePara\">\nThe possibility to<br \/>\npopulate a PDF document with data, e.g. to customize it, is an additional feature of Acrobat Forms. .<br \/>\nUsing PDF documents as forms and populating PDF documents with<br \/>\ndata using PHP will be described in this article. Two examples demonstrate<br \/>\nhow easy it is.<\/div>\n<div class=\"articlePara\">\nBefore you start trying the online examples in this article<br \/>\nyou should install the<br \/>\nAcrobat Reader Plug-in or use Acrobat 4. If you want to test the PHP scripts<br \/>\non your own web server you will also need to install the<br \/>\n<a href=\"http:\/\/partners.adobe.com\/asn\/developer\/acrosdk\/forms.html\" target=\"_blank\">FDF Toolkit<\/a> and<br \/>\nenable FDF support in PHP. Finally, if you want to develop your own PDF forms<br \/>\nyou will need Acrobat Exchange 3.x or Acrobat 4.<\/div>\n<\/div>\n<p><\/p>\n<div style=\"float: left; padding:15px; color:#17AAF3\">\n<div style=\"background-color:#B6E5FC; font-size:16px; margin-top:1px; padding:1px 4px 1px 4px; color:#000; font-style:bold; float:left;\">1<\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"uwe200011164658.html?page=2\">2<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"uwe200011169ba9.html?page=3\">3<\/a> <\/div>\n<div style=\"float:left; font-size:16px; color:#FF7A22; padding:2px 2px 2px 2px; \">| <\/div>\n<div style=\"float:left; padding:2px 4px 2px 4px;\"><a class=\"pageNumber\" href=\"uwe20001116fdb0.html?page=4\">4<\/a> <\/div>\n<div style=\"float:left; padding:2px;\"><a class=\"paginationPageLink\" href=\"uwe200011164658.html?page=2\">Next Page \u00bb<\/a><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>By Uwe Steinmann on November 16, 2000 Motivation Interaction on the WWW often means filling out forms, hitting the submit button and getting a certain result. HTML and HTTP provide a mechanism to perform this quite easily through forms. PHP has support for this mechanism in a very convenient way&#8230;. <a href=\"https:\/\/phpbuilder.com\/fdf-support-in-php\/\" class=\"readmore\"><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1565","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/comments?post=1565"}],"version-history":[{"count":1,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1565\/revisions"}],"predecessor-version":[{"id":2284,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/posts\/1565\/revisions\/2284"}],"wp:attachment":[{"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/media?parent=1565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/categories?post=1565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phpbuilder.com\/wp-json\/wp\/v2\/tags?post=1565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}