public function show($path, $ext, $name) { if ($ext == 'pdf') { header("Pragma: no-cache"); header("Cache-Control: no-cache, must-revalidate"); header Read More
public function upload($fileInfo, $maxSize, $allowExt) { $error = $fileInfo['error']; if($fileInfo['error']>0){ switch ($error) { case 1: $msg= '上传文件超 Read More
引用于 https://www.jb51.net/article/115768.htm function expExcel($arr,$name){ require_once 'PHPExcel.php'; //实例化 $objPHPExcel = new PHPExcel(); /*右键属性所显示 Read More