I have used http://sourceforge.net/projects/phpexcelreader
It is quite basic (and therefore lightweight) but does the trick so
far.

Example from the dist:

$data = new Spreadsheet_Excel_Reader();
$data->read('jxlrwtest.xls');
for ($i = 1; $i <= $data->sheets[0]['numRows']; $i++) {
        for ($j = 1; $j <= $data->sheets[0]['numCols']; $j++) {
                echo "\"".$data->sheets[0]['cells'][$i][$j]."\",";
        }
        echo "\n";

}



On Jan 21, 6:21 pm, nAcho <iit...@gmail.com> wrote:
> Hi, I've managed to write excel files using an article in the bakery.
>
> Now, I'd like to importa some data from some Excel files. I couldn't
> find an Excel Reader or anything like it. Is there something I could
> use to this purpose?
>
> Note: I don't want to make people save xls files into csv (at least
> for now...)
>
> Thanks!
>
> Ignacio
> (Cake noob)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to