i mükemmel xlsx yanı sıra php xls okuyucu komut dosyası gerekir

0 Cevap php


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.

ben de PHPEXCEL, burada ana kodu denedim

$fileName = 'test.xlsx';
try {
    $objPHPExcel = PHPExcel_IOFactory::load($fileName);
} catch (Exception $e) {
    die("Error loading file: ".$e->getMessage()."<br />\n");
}

ancak ölümcül hatası veriyor

Fatal error: Class 'ZipArchive' not found in C:\Program Files\VertrigoServ\www\xls_reader\Classes\PHPExcel\Shared\File.php on line 53

Var PHP Version 5.2.6 vertrigo sunucusunu kullanarak Note: im

Please somebody tell me how to read xls as well as xlsx file with any suitable example or link.
Thank you very very much

0 Cevap