This is a discussion on Reading Excelfiles with PHP within the PHP Language forums, part of the PHP Programming Forums category; Hi group, Is it possible to read the content of Excelfiles with PHP? I mean of course the rows and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"Erwin Moller"
<since_humans_read_this_I_am_spammed_too_much@spam yourself.com> wrote in message news:3ffa83cc$0$317$e4fe514c@news.xs4all.nl... > Hi group, > > Is it possible to read the content of Excelfiles with PHP? > I mean of course the rows and columns, not the binary-read of the file. :-) > > I know a CSV-export is a possebility, but that is unwanted. > > TIA! > > Regards, > Erwin Moller reading any type of file is possible, you just need to know the internal format of said file, just google it, and then parse away :) -- Mike Bradley http://www.gzentools.com -- free online php tools |
|
|||
|
CountScubula wrote:
> "Erwin Moller" > <since_humans_read_this_I_am_spammed_too_much@spam yourself.com> wrote in > message news:3ffa83cc$0$317$e4fe514c@news.xs4all.nl... > >>Hi group, >> >>Is it possible to read the content of Excelfiles with PHP? >>I mean of course the rows and columns, not the binary-read of the file. > > :-) > >>I know a CSV-export is a possebility, but that is unwanted. >> >>TIA! >> >>Regards, >>Erwin Moller > > reading any type of file is possible, you just need to know the internal > format of said file, just google it, and then parse away :) > > -- > Mike Bradley > http://www.gzentools.com -- free online php tools > > If you choose to go that route, here's a link to OpenOffice's take on the .xls file: http://sc.openoffice.org/excelfileformat.pdf Regards, - Dan dantripp.com |
|
|||
|
Thanks for your reply's
I was more hoping somebody else made some friendly readingroutine. I have the feeling I am not the first who wants to read excel-content in php... Thanks for the OO link, i'll use that! Regards, Erwin Moller |
|
|||
|
Erwin Moller <since_humans_read_this_I_am_spammed_too_much@spam yourself.com>
wrote in message news:<3ffa83cc$0$317$e4fe514c@news.xs4all.nl>... > > Is it possible to read the content of Excelfiles with PHP? There are at least three file formats that different versions of Excel have used since 1995 on Windows alone; I have no clue what has been happening with Excel file formats on Macintosh. This said, there are some PHP scripts that can read Excel files; you should check out PEAR (http://pear.php.net/) and PHP Classes (http://phpclasses.org/). Cheers, NC |