/    Sign up×
Community /Pin to ProfileBookmark

How to create PDF files on a server with PHP

Hello,

I have an e-book which will be sold on a website. When somebody purchases this e-book, I would like to create a small watermark using the customers e-mail address at the bottom of the each page in the .pdf file.

Does anybody know how to do this? Is this possible with PHP, or do I need to install a special program on the server?

Grtz!

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@TecBratOct 10.2011 — Here's a starting point:

http://www.fpdf.org/

and this might take you the rest of the way. (I did not try it.)

http://stackoverflow.com/questions/3983432/applying-watermarks-on-pdf-files-when-users-try-to-download-the-files
Copy linkTweet thisAlerts:
@Christophe27authorOct 10.2011 — Here's a starting point:

http://www.fpdf.org/

and this might take you the rest of the way. (I did not try it.)

http://stackoverflow.com/questions/3983432/applying-watermarks-on-pdf-files-when-users-try-to-download-the-files[/QUOTE]


Thanks!
×

Success!

Help @Christophe27 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...