[請益] phpexcel 無法讀取xlsx問題
小弟先貼上程式
include("./phpexcel/Classes/PHPExcel/IOFactory.php");
include("./phpexcel/Classes/PHPExcel/Writer/Excel2007.php");
include('./phpexcel/Classes/PHPExcel.php');
##讀取上傳EXCEL檔
$reader = PHPExcel_IOFactory::createReader('Excel2007');
$PHPExcel = $reader->load($_FILES['strFile']['tmp_name']);
我上傳的檔案是excel 2010的檔案
php版本是5.6
php.ini 也有設 extension=php_zip.dll
網路上實在找不到有人不行讀取的文章,想問有人有遇到同樣的問題嗎
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 203.70.208.14
※ 文章網址: https://www.ptt.cc/bbs/PHP/M.1448959055.A.63B.html
推
12/05 23:46, , 1F
12/05 23:46, 1F
→
12/17 13:29, , 2F
12/17 13:29, 2F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):