setReadDataOnly(true);// Tell PHPExcel to load this file and make its best guess as to its type.$objPHPExcel = @$objReader->load($_FILES['file']['tmp_name']);foreach ($objPHPExcel->getWorksheetIterator() as $worksheet) { $worksheets[] = $worksheet->toArray(); }foreach($worksheets as $sheet) { foreach($sheet as $row) { print_r($row); }}