Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Linux Development & Programming => Topic started by: sriphp on May 10, 2009, 08:41:11 AM

Title: reading ms word file using openOffice on fedora
Post by: sriphp on May 10, 2009, 08:41:11 AM
Hi all,

this is srinath.m

i am using fedora, php, mysql

my task is reading ms word file content and insert into mysql table field.

i want to extract only text of the ms word file, not the header and formatting information.

using openOffice and openoffice functions how to do this.

please explain steps

Thanks
Sri
Title: Re: reading ms word file using openOffice on fedora
Post by: Ricky on May 10, 2009, 05:57:40 PM
OpenOffice can be used to MS Word files but to insert into mysql, you need first read it and extract its content. For that you can use (D)COM  in PHP and there are few classes available to make your life simple in PHP.