Reading Excelfiles with PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Erwin Moller

    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
  • CountScubula

    #2
    Re: Reading Excelfiles with PHP

    "Erwin Moller"
    <since_humans_r ead_this_I_am_s pammed_too_much @spamyourself.c om> wrote in
    message news:3ffa83cc$0 $317$e4fe514c@n ews.xs4all.nl.. .[color=blue]
    > 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.[/color]
    :-)[color=blue]
    >
    > I know a CSV-export is a possebility, but that is unwanted.
    >
    > TIA!
    >
    > Regards,
    > Erwin Moller[/color]
    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


    Comment

    • Dan Tripp

      #3
      Re: Reading Excelfiles with PHP

      CountScubula wrote:[color=blue]
      > "Erwin Moller"
      > <since_humans_r ead_this_I_am_s pammed_too_much @spamyourself.c om> wrote in
      > message news:3ffa83cc$0 $317$e4fe514c@n ews.xs4all.nl.. .
      >[color=green]
      >>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.[/color]
      >
      > :-)
      >[color=green]
      >>I know a CSV-export is a possebility, but that is unwanted.
      >>
      >>TIA!
      >>
      >>Regards,
      >>Erwin Moller[/color]
      >
      > 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
      >
      >[/color]

      If you choose to go that route, here's a link to OpenOffice's take on
      the .xls file:


      Regards,

      - Dan
      dantripp.com

      Comment

      • Erwin Moller

        #4
        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

        Comment

        • Nikolai Chuvakhin

          #5
          Re: Reading Excelfiles with PHP

          Erwin Moller <since_humans_r ead_this_I_am_s pammed_too_much @spamyourself.c om>
          wrote in message news:<3ffa83cc$ 0$317$e4fe514c@ news.xs4all.nl> ...[color=blue]
          >
          > Is it possible to read the content of Excelfiles with PHP?[/color]

          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

          Comment

          Working...