Reading Excelfiles with PHP

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-06-2004
Erwin Moller
 
Posts: n/a
Default Reading Excelfiles with PHP

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
Reply With Quote
  #2 (permalink)  
Old 01-06-2004
CountScubula
 
Posts: n/a
Default Re: Reading Excelfiles with PHP

"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


Reply With Quote
  #3 (permalink)  
Old 01-06-2004
Dan Tripp
 
Posts: n/a
Default Re: Reading Excelfiles with PHP

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
Reply With Quote
  #4 (permalink)  
Old 01-07-2004
Erwin Moller
 
Posts: n/a
Default Re: Reading Excelfiles with PHP

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

Reply With Quote
  #5 (permalink)  
Old 01-07-2004
Nikolai Chuvakhin
 
Posts: n/a
Default Re: Reading Excelfiles with PHP

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:08 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0