I am using PHPExcelReader to read uploaded xls file. But I am not able to read xlsx files saved in excel-2007 format. can someone help me on how to read xlsx file in PHP.
i have also tried PHPEXCEL , here is main code
$fileName = 'test.xlsx';
try {
$objPHPExcel = PHPExcel_IOFactory::load($fileName);
} catch (Exception $e) {
die("Error loading file: ".$e->getMessage()."<br />
");
}
but it gives fatal error
Fatal error: Class 'ZipArchive' not found in C:\Program Files\VertrigoServ\www\xls_reader\Classes\PHPExcel\Shared\File.php on line 53
Note: i m using Vertrigo server which have PHP Version 5.2.6
Please somebody tell me how to read xls as well as xlsx file with any suitable example or link.
Thank you very very much