Solved

How to edit a Word document online using PHP?

Posted on 2003-10-25
2
426 Views
Last Modified: 2011-09-20
I'm not sure if php can do this at all or if i should use some other language or something else all together.  What i want to do is to allow certain users that log into my website the ability to edit a word document directly on the web server.  I'm posting this in the PHP section because i'm more familiar with PHP then i am with anything else.  If anyone could at least point me in the right direction or give me some example code that would be most helpful.

Thanks in advance

Adam
0
Comment
Question by:Adam409
2 Comments
 
LVL 13

Accepted Solution

by:
lozloz earned 125 total points
ID: 9621411
all i can suggest is reading: http://www.phpbuilder.com/columns/nair20020523.php3, that's only for rtf documents though.. the format of microsoft documents can't be read like rtf's and so you'd need a program to do the editing, however all i know about this is that you can convert documents into text files and other such outputs which would be easier to edit from there. http://wvware.sourceforge.net/ and http://www.45.free.net/~vitus/ice/catdoc/ (linux only) have more info about that. the final thing applies to windows only: component object model (com). you'd need microsoft word installed on the server and i don't know if editing can even be done here, but anyway, take a look at http://uk2.php.net/com

cheers,

loz
0
 
LVL 2

Expert Comment

by:scully00000
ID: 9636465
What exactly do you want to do? Maybe there's another way round it - e.g. I use a javascript HTML editor as part of one of my applications.

Cheers

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now