This PHP library expands on the great work done in the PHP Excel Reader project on SourceForge.
It reads the binary format of XLS files directly and can return values and formats from any cell.
protected/extensionsSee the following code example:
Yii::import('ext.phpexcelreader.JPhpExcelReader'); $data=new JPhpExcelReader('example.xls'); echo $data->dump(true,true);
Total 4 comments
Works nicely for me. Made the changes as per the other comments as well. Thanks!
Hi there,
yep, very nice ext, I've got here while re-building our intranet. A couple of (small) glitches tough and some info:
'split' vs. 'explode' issue, as re1nald0 pointed out; I've substituted all occurrences and things seem to work fine
for testing purposes, I've added these two lines, which helped out tracking errors:
into:
Ciao, rash*
Nowadays I used the PHPExcelReader in my website, I find it is very useful and efficacious, thank you for providing this extension, and I guess you can figure out the PHPExcelWirter in a few days. By the way, the PHPExcelReader is inherit from Spreadsheet_Excel_Writer.
This is surely a useful extension; however, it uses 'split' function, which is deprecated if you use PHP 5.3. To solve it, we just need to change it to 'explode'.
Anyway, thank you for providing this extension :).
Leave a comment
Please login to leave your comment.