Help on PDF generation and emailing PDF as an attachment form a single form
I need help on the following issue:
I have a form where the users enter their name and basic data, after entering they hit the submit button and my job would be to create a PDF containing their basic information just entered from this form and then attach that PDF to an email and finally send it. Also the generated PDF needs to be save into a local drive.
I have tried to use FPDF, but it didn't work (says: "Couldn't find font data") in the browser. php is installed in a linux server so I am not sure how to install PDFLib there.
After clicking the submit button the user needs to be redirected to the same page as well.
Thank you in advance