This topic is locked

Use of HTML forms and dynamic PDF generation with high performance.

4/21/2021 12:35:00 PM
PHPRunner Tips and Tricks
fhumanes author

This article is continuation of this other:Create PDF andPrint and Forms

img alt

I have updated this example with functional improvements and for this I have had to make a technical update of the library used to generate the PDF's files.

Functional expansion

  • They are added to the PDF file, the attached files indicated in the HTML form.
  • The PDF file is signed so that the file can not be modified externally and if it is modified, that the PDF itself identifies that it has been modified. Also, so that it is credited that the file has been obtained in this application (identification of the origin).
  • Electronic signature field is added so that the PDF can be electronically signed without the need for specific software or payment.

Technical enlargement

I have updated the Setasign FPDI 2.3.6 product, but the most important thing is that I used the variant that uses the TCPDF library, which is the most used PHP Open Source library for the creation of PDF's files and which adds technical functionalities More advanced and in particular, the PDF's document signature.

The explanation and examples (downloadable) are on my portal

For any clarification, please contact through my email