Chapter 32. Generating Personalized Documents in Portable Document Format (PDF)
On service-driven sites, you sometimes need to deliver personalized documents, generated in response to input from your visitors. This input can be used to provide an automatically filled-in form or to generate personalized documents, such as legal documents, letters, or certificates.
The example in this chapter presents a user with an online skill assessment page and generates a certificate. We explain how to
Use PHP string processing to integrate a template with a user's data to create a Rich Text Format (RTF) document
Use a similar approach to generate a Portable Document Format (PDF) document
Use PHP's PDFlib functions to generate a similar PDF document
The Problem ...
Get PHP and MySQL Web Development, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.