php/ajax email capture page + pdf display

php/ajax email capture page + pdf display


Job Description


I need a php/ajax page that will have this url download.php?product=1
The page will contain:
- 1 textfield (for email) + 1 submit button to capture the email
- 1 "view" to display the pdf "doc1.pdf" since the GET is product=1

When the user enters the email and clicks on submit:
1. an email is sent to the email with the pdf "doc1.pdf" (if product=1) attached and the following message: Dear participants, here is the document you requested.
2. the email is saved in a list in the form of a csv file.

Please contact me with the script ready or nearly ready.



Skills: pdf