Edit word document in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
slpatil
Forum Newbie
Posts: 2
Joined: Mon Aug 16, 2010 5:41 am

Edit word document in php

Post by slpatil »

HI,
I want to edit the uploaded word document using php . Word document will be .doc or .docx.
If anyone know please help me or give me script for that.

Thanks,
realdrouin
Forum Newbie
Posts: 5
Joined: Mon Feb 15, 2010 11:36 am

Re: Edit word document in php

Post by realdrouin »

Did you find a solution ? I'm having he same problem
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Edit word document in php

Post by califdon »

Since Word document format is a proprietary and rather complex format, you will either have to find a library that provides you with an API to do that (I don't know of one, but you might try searching for it) or you would have to write your own functions, which would be difficult even if you could find the details of the format. It's probably not going to be practical to do it, although theoretically it's possible.
Post Reply