摘要:
$this->loadexcel(); $objPHPExcel = new PHPExcel(); $objPHPExcel->getProperties()->setCreator("Maarten Balliauw"); $objPHPExcel->getProperties()->setLastModifiedBy("Maarten Balliauw"); $objPHPExcel->getProperties()->setTitle("Office 2007 XLSX Test1 Docume 阅读全文
posted @ 2013-08-26 14:41
min_cj
阅读(263)
评论(0)
推荐(0)
摘要:
$this->loadexcel();//半酣phpexcel文件 $_ReadExcel = new PHPExcel_Reader_Excel2007(); if(!$_ReadExcel->canRead('link.xls')){ $_ReadExcel = new PHPExcel_Reader_Excel5(); } $_phpExcel = $_ReadExcel->load('link.xls'); $sheetCount = $_phpExcel->getSheetCount(); $newExcel = array() 阅读全文
posted @ 2013-08-26 14:16
min_cj
阅读(309)
评论(0)
推荐(0)
摘要:
$file='url.xlsx'; if (file_exists(EA_DIR_DATA . $file)) { header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename='.basename($file)); header('Content-Transfer-Encoding: binar 阅读全文
posted @ 2013-08-26 13:30
min_cj
阅读(182)
评论(0)
推荐(0)

浙公网安备 33010602011771号