Skip to content

@producture /pdftest.txt
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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 : http://www.office-supply-store.us/office/office-supply/208.255.22.149/Large/SCOS4008.JPG
The pdf file should be sent to the email address entered in the form. The from field should be "payments@producture.com".
Thanks and good luck !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.