Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- add content to word or pdf file using php
November 20, 2006, 11:26 pm
rate this thread
I would like to have some code in php, which would add some content
(e.g. one line) in a ms word or a pdf file (whichever is easiest) that
is already stored in the website.
To be more specific:
I am trying to develop a form that the user would give their name, and
pressing a button will send an already written letter (stored in a word
file) signed by their name in the end.
Please, reply by personal email if possible
Re: add content to word or pdf file using php
If you don't need to do any further/future alterations to the document
after adding the data
then pdf is probably the way to go (see also www.fpdf.org)
Otherwise consider creating a template in word and saving it as rtf,
html or xml - the latter being (probably) the best documented format.