Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
195 views
in Technique[技术] by (71.8m points)

php - registration form to two PDF files then send them to an emails

We have a website registration form, where the fields will need to be inserted into 2 PDF documents and then send those PDF documents via email to our customer service department, after reading blogs and watch videos, I can not find the best solution for our problem, how can we accomplish that using html, php in a windows hosting account?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

If you talk about real PDF forms you may check out the SetaPDF-FormFiller component (not free!). It allows you to fill in a PDF forms (AcroForm/XFA) in PHP. If it is a plain flat PDF document, you can use FPDI to import the pages into FPDF and write the dynamic content to the specific locations.

To send the resulting PDF I would suggest a common email class like swiftmailer.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...