使用PHP从可编辑的PDF表单中获取信息

时间:2016-04-15 14:23:07

标签: php pdf pdftk

使用PHP如何显示可编辑的PDF表单然后提交获取信息?我有一个PDF表单,我已经使用Adobe Acrobat 9 Pro转换为可编辑的PDF表单,我现在想在浏览器中显示它以便用户可以填写。提交时,我想获取在该表单中输入的信息并存储在数据库中。

1 个答案:

答案 0 :(得分:0)

To read and write a pdf you can use some PDF libraries like FPDI or PDFtoHTML.

Follow this link Read pdf files with php

But in your use case I am not sure why you are using a PDF form if your intention is just to save the user inputs into database. I would recommend use a HTML form instead, will be easier for you to manage.