M
M
MadDeee2017-06-02 14:16:07
PHP
MadDeee, 2017-06-02 14:16:07

Form to fill and output pdf on the site?

How to make such a form, let's say there will be fields: full name, year of birth, city. The user fills in all the fields, after which he presses, let's say, the "GET" button and he downloads a picture in jpg, png, pdf format ... the format is not important in principle, and so that the picture with his entered data is swaying. Tell me how to organize it? And it is desirable that the final file is still saved on our server

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Penshin, 2017-06-02
@apenshin

www.fpdf.org
php.net/manual/ru/refs.utilspec.image.php

V
V Sh., 2017-06-02
@JuniorNoobie

Obviously, send the data from the form to the server. On the server, save the data to the database and send the generated JPEG/PDF/PNG file back to the client.

E
exhang, 2018-10-29
@exhang

mpdf, generates pdf from html template.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question