I work for a company that uses a large amount of web forms on our intranet (based on the apache server)
I need a way to be able to generate a pdf from these web forms, save it to a file on our server, and send a copy to some specified email addresses. Currently the php forms get put into a html email template and sent when the submit button is pressed.
The saved forms need to have a individual file name (eg storename.date.formname.submittedby.pfd) so we can keep a record of the important ones.
Im still a noob for programming, so might need very simple answers.
Your question is not 100% clear. You say you email the forms as HTML. I assume you mean the data the user has entered. Have a look wkhtmltopdf Is a great and easy to user HTML to PDF converter. Maybe this helps getting you started.