Page 1 of 1
doc reader
Posted: Fri Oct 05, 2007 4:24 am
by surath
Hi All,
Stuck with a problem. Anyone there can tell me how to read a doc file in php?
Thank you in advance.
Posted: Fri Oct 05, 2007 5:21 am
by aceconcepts
Can you be more specific?
File type...?
Posted: Fri Oct 05, 2007 6:10 am
by surath
aceconcepts wrote:Can you be more specific?
File type...?
Sure...It'll be MS-WORD file i.e. like "sample.doc"(with ".doc" extension)
Posted: Fri Oct 05, 2007 10:30 am
by feyd
Since Word files are a proprietary, binary format, their exact composition isn't fully known (for all versions,) yet.
There are readers for the XML variant of Word files readily available.. although Word only recently added this "feature." There are also readers for RTF (Rich-text format) files, which Word (in somewhat recent versions) can write too. Do you want to read the binary format?
http://www.phpclasses.org/browse/package/1352.html could possibly be of interest.