Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
PDF Generation Test
In a short time, using PHP and Symfony :
Create a form with this fields :
* First name
* Last name
* Address
* City
* ZipCode
* Email
On submit, the script generates a pdf file with this content :
From : ACME Corp
To : [First Name] [Last Name]
[ Address + ZipCode + City]
Dear FirstName,
Thank you for your payment of [RANDOM AMOUNT between $1000 and $1000000] received on [last monday date]
The Customer Service team.
and with in the background a watermark with this file :
The pdf file should be sent to the email address entered in the form. The from field should be "".
Thanks and good luck !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment