[英]PHP function to search for text inside online pdf, replace it & save modified pdf on the server
Is there a way in PHP that can open remote PDF file, searching for specific text, replace it with new one & save the modified PDF file on the server? PHP中是否有一种方法可以打开远程PDF文件,搜索特定文本,将其替换为新文本并将修改后的PDF文件保存在服务器上? Thanks
谢谢
You can use a combination of tools or just one of them.您可以使用多种工具的组合,也可以仅使用其中的一种。 Depends on how complex the file is and how much noise either of these generates.
取决于文件的复杂程度以及其中任何一个产生的噪音。
My personal recommendation would be to go for FPDI
.我个人的建议是去
FPDI
。
经过多天的研究,没有插件可以从“提取保护”的 PDF 中提取 pdf 数据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.