07 2020 档案
发表于 2020-07-28 16:57阅读:338评论:0推荐:0
摘要:// 引用phpexcel类 objPHPExcel = new PHPExcel(); // 显示错误信息 error_reporting(E_ALL); // Set properties $objPHPExc
阅读全文 »
发表于 2020-07-28 11:15阅读:9687评论:2推荐:3
摘要:1.header header("Content-Type:application/vnd.ms-excel"); header("Content-Disposition:attachment;filename=sample.xls"); header("Pragma:no-cache"); hea
阅读全文 »
发表于 2020-07-28 11:01阅读:254评论:0推荐:0
摘要:安装类库 从GitHub上下载PHPExcel类库 地址:https://github.com/PHPOffice/PHPExcel public function checkexcel($id){ require_once '/data/wwwroot/go01.cn/vendor/phpoffi
阅读全文 »