![]() |
is this possible?
can php highlight the text found in the .doc files?
for example i want to highlight the word pretty that was written in the ms word. when i open a.doc in the web it would highlight all the words pretty found in the a.doc. is that posible?if so.how? |
Its possible to read Word files using COM on Windows which requires the server or PC to have Office installed:
PHP: COM and .Net (Windows) - Manual But Im sure theres lots of other code examples out there that lets you read Word documents more effectively ;) |
but im using linux is that applicable?
|
I did a quickly search and what I could see from the first results was that you probably have to use an external program and execute it over command line or something similar.
There seems not to be any php program that reads a .doc file using native php code unfornatuly =/ |
that what i also read on google but my problem is what external program i will use to read a.doc.?even a simple display on the browser i could not find any.when you open it using php what you will see is boxes.i dont want to convert it on txt file because it will not follow the logic of what i want to achieve.:(
|
Quote:
|
.doc files indeed seem imposible for linux. You can use .rtf files though! :)
(You can try to ask some guys at OpenOffice, maybe there is a command line way of controlling OpenOffice. |
Thanks for the info guys
|
| All times are GMT. The time now is 03:38 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0