$PHPExcel =$PHPReader->load($filePath);//建立excel对象$currentSheet =$PHPExcel->getSheet($sheet);//**读取excel文件中的指定工作表*/$allColumn =$currentSheet->getHighestColumn();//**取得最大的列号*/$allRow =$currentSheet->getHighestRow();//**取得一共有多少行*/$data =array();for ($rowIndex = 1;$rowIndex