473,396 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

add content to word or pdf file using php

Hello everybody!

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

Andreas.

an*****@antibaro.gr

Nov 20 '06 #1
4 2905
Message-ID: <11**********************@f16g2000cwb.googlegroups .comfrom
an*****@antibaro.gr contained the following:
>Please, reply by personal email if possible
You're new to Usenet aren't you?

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Nov 20 '06 #2

please visit www.phpclasses.net/com/org (forget it, sorry :^), for more
information...

"an*****@antibaro.gr д
"
Hello everybody!

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

Andreas.

an*****@antibaro.gr
Nov 21 '06 #3

feelinglucky wrote:
please visit www.phpclasses.net/com/org (forget it, sorry :^), for more
information...

"an*****@antibaro.gr д
"
Hello everybody!

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

Andreas.

an*****@antibaro.gr
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.

Nov 21 '06 #4
thank you everybody for your answers. I have some work to do now to
check those sites.

Andreas.

Ο/Η strawberry *γραψε:
feelinglucky wrote:
please visit www.phpclasses.net/com/org (forget it, sorry :^), for more
information...

"an*****@antibaro.gr 写道:
"
Hello everybody!
>
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
>
Andreas.
>
an*****@antibaro.gr

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.
Nov 21 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Joan | last post by:
I am creating a word document from an asp page. I have no problems actaully creating the document and creating some tables that have data in them. I am using Response.ContentType =...
27
by: Gene Ellis | last post by:
Something strange is happening, but I bet it is a quick fix. My favicon image is showing up in the URL bar, for a couple of seconds, but then it disappears and the default browser icon is...
0
by: Mel_la_Bel | last post by:
Hi All, I'd like to get the content of windows(?), maybe they are MsgBoxes, that pop up in MS Word, like the ReadabilityStatistics after the Grammar check. Can I get control to the window that...
3
by: sonic | last post by:
Hi, displaying information on a page as MS Word document seems to be as simple as: //OnLoad Response.ContentType = "application/msword"; Response.Write ( MyContentString ); (this assuming...
1
by: Franck | last post by:
Hello, I'm trying to diplay the content of a word file on a aspx page only the content if possible... not the file I tried the folowing but it doesn't work... Response.ContentType =...
7
by: Water Cooler v2 | last post by:
I know what it is, and yet the knowledge of what a CMS is, is so vague that I find myself asking this question every now and then. I've googled and read the resources too. However, the knowledge is...
1
by: jobs | last post by:
I've got an asp.net 2.0 website that has a master page and content pages. For announcemnts, users modifiy plain old html pages that I then can bring into a div tag of a content page using the...
0
by: nehacredo | last post by:
hi alll.. i wanna display a word file content in a browser..how can i do that..i hav done one coding in that i can display the contents...but with contents some symbols also coming... anyone pls...
3
by: leon.san.email | last post by:
This a modified part of a larger script I made. I couldn't get it working so I made a smaller part of it - hoping to get it working. Well it still doesn't work :( The following code creates the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.