Merge FDF data into a PDF file using PHP

前端 未结 4 527
悲哀的现实
悲哀的现实 2020-12-07 15:08

Is it possible to merge FDF data with a PDF file using PHP alone? Or is there no option but to use a 3rd party command line tool to achieve this?

If that is the cas

4条回答
  •  盖世英雄少女心
    2020-12-07 15:48

    http://www.setasign.de/products/pdf-php-solutions/fpdi/demos/concatenate-fake/

    This works , the classes download are linked to from the web site too,

    It requires no passthru/exec command and no additional extensions.

    Edited to say, this doesn't work with newer pdf versions 1.5+, reverted to PDFTK, fiddly but works with all pdfs using the 'exec' command.

提交回复
热议问题