资 源 简 介
PHP library for read data of spreadsheet files
It supports OpenDocument Spreadsheet (.ods), Microsoft Excel 97/2000 (.xls), and CSV (.csv), and Text with tab-separated or patterns (.txt).
It"s very simple.
```
require_once "SpreadsheetReaderFactory.php";
$spreadsheetsFilePath = "test.ods"; //or test.xls, test.csv, etc.
$reader = SpreadsheetReaderFactory::reader($spreadsheetsFilePath);
$sheets = $reader->read($spreadsheetsFilePath);
echo $sheets[0][0][0];
```
Use this command to anonymously check out the latest project source code:
svn checkout http://php-spreadsheetreader.googlecode.com/svn/ php-spreadsheetreader
Revision 26
IMPORTANT!
I rewrite my Excel reader by pure PHP code. Instead of invoking the external reader, jxl.
See also 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报