Reading Excel files using PHP

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello there,

Could someone pls give me pointers (or examples) on how to use PHP
(installed on a linux) to read & write MS Excel spreadsheets. So far
I've been converting a spreadsheet to text (as tab separated values)
and processing the text file. I'm wondering if I can avoid this step
and process the .xls file directly.

I found a thread in this group - related to this topic - but it says,
MS excel needs to be installed on target machine to use PHP's COM. I
assume he's talking about PHP running on windows target machine. How
can I use a similar approach on linux machine?

Any help is appreciated.


Re: Reading Excel files using PHP says...

Quoted text here. Click to load it

I found a couple of class files which allow you to read Excel format files  
on any platform:

I had also considered another one:

Geoff M

Site Timeline