I am trying to read spreadsheet(.xls) using spreadsheet_excel_reader. My code is a below :
<?php
require_once 'Excel/reader.php';
$data = new Spreadsheet_Excel_Reader();
$data->setOutputEncoding('CP1251');
$data->read('test.xls');
echo $data->sheets[0]['numRows'];die;
?>
this returns number of row till where the data is. If there is any data on row 65536 the it returns 0. Actual return value should be 65536. Is there any fix or work around for this ?