pdf表单发送FDF而不是pdf


pdf form sends FDF instead of PDF

更新我发现如果在我的电脑上用adobe阅读器打开,它会发送PDF,但如果在网站上的Chrome浏览器中打开,同样的PDF表单会发送FDF更新结束

我正在使用Acrobatneneneba XI Pro试用版

Adobe Acrobat提供pdf文档形式的表格,这些表格可以提交到服务器

提交按钮设置http://gyazo.com/0ff0dc17210f39f062a131c85265406c

我的服务器代码

<?php
ob_start();
$file = file_get_contents("php://input"); //Gets binary PDF Data
$time = microtime(true);
$newfile = "./customers/" . $time . ".pdf"; //Names file based on the time to the microsecond so nothing gets overwritten.
$worked = file_put_contents($newfile, $file); //Creates File
ob_end_clean();
?>

我得到的是FDF数据,而不是PDF文档

一般情况下,Adobe PDF Forms的全部功能仅在Adobe Reader中提供。Google Chrome pdf查看器只发送FDF格式。Firefox pdf查看器根本不允许编辑/发送表单。也许很明显,但我是php开发人员,从未使用过PDF表单。