Page 1 of 1

NEED HELP IN PHP CODE

Posted: Thu Jul 03, 2014 10:41 am
by miketyson2806
Team,

Can some one help me on the PHP code for the below requirements,

I wanted to design a website where i can upload a pdf file and automatically a water stamp should be added in the pdf file and an alert should go to an email with the watermark pdf.

Kindly help me

Re: NEED HELP IN PHP CODE

Posted: Thu Jul 03, 2014 10:50 am
by Celauran
What have you written so far? Where are you getting stuck? Working with PDFs in PHP is generally unpleasant, but there are a number of libraries that take some of the pain out of it.

Re: NEED HELP IN PHP CODE

Posted: Thu Jul 03, 2014 11:13 am
by miketyson2806
Thank you Celauran for your swift response.

I have a plug in for wordpresss to attach an attachment, Once the file is attached automatically an email should sent to that user with a water mark.

Re: NEED HELP IN PHP CODE

Posted: Thu Jul 03, 2014 11:24 am
by Celauran
So the plugin is handling sending the mail and attaching the PDF? All you need to do is edit the PDF to add the watermark? What's the workflow like? Adding a watermark in PHP isn't terribly efficient; it may be better to add it elsewhere.