By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,722 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

how can I insert data in a pdf from php??

P: n/a
I have been reading this group but I can not find the simple answer
tohow i can solve what i need to do. I have a pdf template, it is, a
pdf with some data like name, surname,etc ...and i want from web
(using php) to open this pdf, fill thesedata and repeat it so many
times as number of students there are... I have read about fdf , etc,
but i don`t know how and what tools ishould use....does anybody or
expert help me? i am frustated cause ican not finish my
application..and i am late about this. Thanks in advance.

May 18 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On May 18, 2:03 pm, jav_...@hotmail.com wrote:
I have been reading this group but I can not find the simple answer
tohow i can solve what i need to do. I have a pdf template, it is, a
pdf with some data like name, surname,etc ...and i want from web
(using php) to open this pdf, fill thesedata and repeat it so many
times as number of students there are... I have read about fdf , etc,
but i don`t know how and what tools ishould use....does anybody or
expert help me? i am frustated cause ican not finish my
application..and i am late about this. Thanks in advance.
http://php.net/pdf

This is a PHP extension that you can use to do a variety of things
with PDF files. In your case, you can either write text right onto the
form, or you can make the text in an image with the GD extension and
place that image onto the form. It has some stuff relating to
templates, too. I haven't tried that though.

Use programmer's-common-sense to figure out the rest.

-Mike PII

May 18 '07 #2

P: n/a
In article <11**********************@o5g2000hsb.googlegroups. com>,
wrote:
I have a pdf template, it is, a
pdf with some data like name, surname,etc ...and i want from web
(using php) to open this pdf, fill thesedata and repeat it so many
times as number of students there are... I have read about fdf , etc,
I don't know fdf is, but fpdf is a very good freeware php library that
will let you write stuff in pdf files.

Google is your friend, in this at least.

Regards
Mark

May 19 '07 #3

P: n/a
On May 18, 12:50 pm, Mike P2 <sumguyovrt...@gmail.comwrote:
On May 18, 2:03 pm, jav_...@hotmail.com wrote:
I have been reading this group but I can not find the simple answer
tohow i can solve what i need to do. I have a pdf template, it is, a
pdf with some data like name, surname,etc ...and i want from web
(using php) to open this pdf, fill thesedata and repeat it so many
times as number of students there are... I have read about fdf , etc,
but i don`t know how and what tools ishould use....does anybody or
expert help me? i am frustated cause ican not finish my
application..and i am late about this. Thanks in advance.

http://php.net/pdf

This is a PHP extension that you can use to do a variety of things
with PDF files. In your case, you can either write text right onto the
form, or you can make the text in an image with the GD extension and
place that image onto the form. It has some stuff relating to
templates, too. I haven't tried that though.

Use programmer's-common-sense to figure out the rest.

-Mike PII
If you want to add data to an existing PDF (like fill in a PDF form)
you also want to get FPDI, which is an extension onto FPDF with
includes importing and adding content to previously created PDFs.

http://fpdi.setasign.de/
May 19 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.