Can I replace custom tokens in PDF by PHP

综合编程 Hello, buddy! (源链)

I am creating a small application which manipulates PDF file as follows

  • A customer creates a CSV to a given specification that contains the

    name,address, country, ink type, station to use. This CSV could also include customized tokens which replace tokens that are written

    within their PDF Document.

  • A customer creates a PDF document it could be a standard document that’s exactly the same that gets sent to everyone in their CSV file, or it could contain special tokens which are replace with specific contacts details within the CSV.

I’ve briefly looked at http://us.php.net/pdf
and FPDF, but I was wondering what specific technique I’d use to achieve this.

I was thinking I’d insert an address tokens string where I want the address to go, and then use some function to update those tokens in the PDF document.

Can anyone point me in the right direction? I have php experience, but not with editing / generating pdf documents from php.

您可能感兴趣的

The Conquest Code of Conduct – Paul M. Jones If you’re tired of SJW COCs in open-source projects, try this one on for size : Conquest’s Second Law: “Any organization not explicitly r...
phpword2vec 1.0 发布:PHP 调用 word2vec 实现机器学习... phpword2vec —— php调用word2vec实现机器学习 该项目是基于word2vec训练完数据后使用的一款工具,就是在有训练数据的基础上来执行,适合phpml等开源的机器学习算法类库来调用,已经转化为文档向量! 第一版支持词向量转换文档向量、支持参数传参、支持各个语...
PHP – Count Rows in MySQL Database Table This is a quick PHP function to count rows in a MySQL database table. It takes 2 parameters, which are: $link This is the MySQL connecti...
Taking PHP Seriously Slack uses PHP for most of its server-side application logic, which is an unusual choice these days. Why did we choose to build a new project in this ...
对ShadowBrokers Envison Collision漏洞的利用分析... 目前我们正在对ShadowBrokers公开的利用工具以及脚本等进行了全方位的分析和分类工作,所以写一篇关于Linux下“envisioncollision”漏洞利用的简单介绍是非常值得的。我们之前已经对所公开文件中的 PHPBB 漏洞进行披露,当时的文章中提到这个漏洞非常受网络犯罪组织的欢...
Hello, buddy!责编内容来自:Hello, buddy! (源链) | 更多关于

阅读提示:酷辣虫无法对本内容的真实性提供任何保证,请自行验证并承担相关的风险与后果!
本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » Can I replace custom tokens in PDF by PHP



专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录