PHP7中文手册2018 带注释 最新chm版
spl_autoload_unregister(array('YiiBase', 'autoload')); // register PHPExcel's autoloader ... PHPExcel.php will do it $phpExcelPath = Yii::getPathOfAlias('ext.phpexcel.Classes'); include($phpExcelPath . DIRECTORY_SEPARATOR . 'PHPExcel.php'); // register Yii's autoloader again spl_autoload_register(array('YiiBase', 'autoload')); $inputFileType = PHPExcel_IOFactory::identify('uploads/xls.xlsx'); // var_dump($inputFileType); header("Content-type:text/html;charset=utf-8"); $objReader = PHPExcel_IOFactory::createReader($inputFileType);更多相关excel
转载请注明:谷谷点程序 » yii导入加载PHPexcel的方法