Re: [PHP] Reading a Word document from PHP

2008-09-23 Thread Lupus Michaelis
Robert Cummings a écrit : If it were me... and I REALLY needed to do this... I'd probably start look into how to make Open Office do a command line conversion of word documents to plain text. If you're on Debian, seek for the openoffice.org-headless package ;) -- Mickaël Wolff aka Lupus Mic

Re: [PHP] Reading a Word document from PHP

2008-09-23 Thread Robert Cummings
On Tue, 2008-09-23 at 08:40 +0100, Ashley Sheridan wrote: > > Unfortunately I'm stuck trying to extract text from a Word document or a > PDF file because she doesn't know how to make a CSV in Excel, despite me > showing her how to do it. She kept trying to upload a PDF to the site > and wondered wh

Re: [PHP] Reading a Word document from PHP

2008-09-23 Thread Ashley Sheridan
On Tue, 2008-09-23 at 08:51 +0200, clive wrote: > Hi I know the new microsoft docx format is an xml document, so you could > probably use the xml parser with that. > > Any chance you can get them to use a rtf file instead of a word file to > convert to pdf, rtf is mostly readable text with some

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread clive
Hi I know the new microsoft docx format is an xml document, so you could probably use the xml parser with that. Any chance you can get them to use a rtf file instead of a word file to convert to pdf, rtf is mostly readable text with some control words thrown in for formatting. clive Ashley

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread Eric Butera
On Mon, Sep 22, 2008 at 3:56 PM, Ashley Sheridan <[EMAIL PROTECTED]> wrote: > Hi All, > > I recently asked a question regarding reading a PDF with PHP. I've tried > Zend_pdf, but all this is able to give me is the number of pages in a > PDF, and cannot extract the text from the PDF files I have. I

RE: [PHP] Reading a Word document from PHP

2008-09-22 Thread Boyd, Todd M.
> -Original Message- > From: Bastien Koert [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2008 4:00 PM > To: [EMAIL PROTECTED] > Cc: php-general > Subject: Re: [PHP] Reading a Word document from PHP > > On Mon, Sep 22, 2008 at 4:58 PM, Ashley Sheridan &g

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread Bastien Koert
On Mon, Sep 22, 2008 at 4:58 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > On Mon, 2008-09-22 at 16:47 -0400, Bastien Koert wrote: > > > > > > On Mon, Sep 22, 2008 at 3:56 PM, Ashley Sheridan > > <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I recently asked a question regarding

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread Ashley Sheridan
On Mon, 2008-09-22 at 16:47 -0400, Bastien Koert wrote: > > > On Mon, Sep 22, 2008 at 3:56 PM, Ashley Sheridan > <[EMAIL PROTECTED]> wrote: > Hi All, > > I recently asked a question regarding reading a PDF with PHP. > I've tried > Zend_pdf, but all this is

Re: [PHP] Reading a Word document from PHP

2008-09-22 Thread Bastien Koert
On Mon, Sep 22, 2008 at 3:56 PM, Ashley Sheridan <[EMAIL PROTECTED]>wrote: > Hi All, > > I recently asked a question regarding reading a PDF with PHP. I've tried > Zend_pdf, but all this is able to give me is the number of pages in a > PDF, and cannot extract the text from the PDF files I have. I

Re: [PHP] reading a word document

2007-08-11 Thread brian
Tom Cruickshank wrote: Hello, What I would like to preserve in the sense of formatting is bold, italics, spacing, pictures (if any). That kind of thing. I'm aware that Word isn't the best type of document to read from, unfortunately some folks will be using that file format to upload files.

Re: [PHP] reading a word document

2007-08-11 Thread brian
Tom Cruickshank wrote: Hello, Would anyone know or could point me to a link which might have a way for php to read a word document? The code will run on linux, so unfortunately cannot use COM. I've done research on a third application tool which converts docs to html, but have yet to find o