简单易用的php读取excel实例

时间:2016-04-16 13:14:29
【文件属性】:
文件名称:简单易用的php读取excel实例
文件大小:14KB
文件格式:RAR
更新时间:2016-04-16 13:14:29
php excel reader excelreader 实例 这是一个非常简单易用的php读取excel的实例,上传到服务器即可使用(本地apache即可)。这里面用到了ExcelReader.php类,通过它,能非常方便的读取excel中的数据。 使用方法: require_once "Excel/reader.php"; $xl_reader= new Spreadsheet_Excel_Reader(); $xl_reader->setOutputEncoding('GBK'); $xl_reader->read("Coupon_QQ_Uin.xls"); print_r($xl_reader->sheets[0]);
【文件预览】:
readexcel
----Coupon_QQ_Uin.xls(11KB)
----example.php(2KB)
----Excel()
--------Excel_oleread.inc.php(8KB)
--------reader.php(48KB)
----example1.php(494B)

网友评论

  • 不错,已经用到程序当中,感谢分享!
  • 程序比较简单。
  • 比较简单的程序 一看就能明白
  • 比较简单的程序。