Solved

How to edit a Word document online using PHP?

Posted on 2003-10-25
2
444 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Making API calls from hashed passwords 26 54
php construct 5 27
php string detection problem 7 34
Change background color in td if any value is 1 9 14
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

803 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