PHP and importing pdf with forms

2019-09-08 07:00发布

问题:

I'm having trouble importing an existing pdf file with forms (text fields, radio buttons...) with some php libraries like TCPDF, FPDI and PDFlib. When I import pdf file with forms, do some text print on it, save it, but the output pdf file does not contain forms anymore.

is there a way to do this without loosing forms! please help tnx

回答1:

try mpdf

see the example