Re: [PHP] ms-word reading from PHP on linux O.S

2009-04-04 Thread Phpster
On Apr 4, 2009, at 15:19, 9el wrote: On Tue, Feb 24, 2009 at 1:38 PM, Per Jessen wrote: Srinivasa Rao D wrote: Hi all, * How better, i can read ms-word doc files from PHP on LINUX OS*. [snip] *Is there are any other softwares that can fetch text from MS-WORD file?.*

Re: [PHP] ms-word reading from PHP on linux O.S

2009-04-04 Thread 9el
On Tue, Feb 24, 2009 at 1:38 PM, Per Jessen wrote: > Srinivasa Rao D wrote: > > > Hi all, > > * How better, i can read ms-word doc files from PHP on LINUX > > OS*. > [snip] > > > > *Is there are any other softwares that can fetch text from MS-WORD > > file?.* > Word documents r

Re: [PHP] ms-word reading from PHP on linux O.S

2009-02-23 Thread Per Jessen
Srinivasa Rao D wrote: > Hi all, > * How better, i can read ms-word doc files from PHP on LINUX > OS*. [snip] > > *Is there are any other softwares that can fetch text from MS-WORD > file?.* OpenOffice. -- Per Jessen, Zürich (1.9°C) -- PHP General Mailing List (http://www

Re: [PHP] ms-word reading from PHP on linux O.S

2009-02-23 Thread Srinivasa Rao D
thanks Lucas.This code is very helpful to me.

Re: [PHP] ms-word reading from PHP on linux O.S

2009-02-23 Thread Jim Lucas
Srinivasa Rao D wrote: > Hi all, > * How better, i can read ms-word doc files from PHP on LINUX OS*.On > searching I got *catdoc* softaware.By using this i can read word doc data as > a text. > > function catdoc_file($fname) > { > > $ret = exec('catdoc -ab '.escapeshellarg($fname) .'

RE: [PHP] ms-word reading from PHP on linux O.S

2009-02-23 Thread Bob McConnell
From: Srinivasa Rao D > > * How better, i can read ms-word doc files from PHP on LINUX OS*.On > searching I got *catdoc* softaware.By using this i can read word doc data as > a text. It would be helpful to have a little more context. What do you want to do with the text you read this way?

[PHP] ms-word reading from PHP on linux O.S

2009-02-23 Thread Srinivasa Rao D
Hi all, * How better, i can read ms-word doc files from PHP on LINUX OS*.On searching I got *catdoc* softaware.By using this i can read word doc data as a text. function catdoc_file($fname) { $ret = exec('catdoc -ab '.escapeshellarg($fname) .' 2>&1'); if (preg_match('/^sh: line 1