在网上下的phpexcelreader包,在本地xp下能正常导入文件,本地php5.3.8
可到了linux服务器php5.2.6上,同样的文件就会运行超时。
我将其中的一部分数据打印出来
    var_dump($this->data);
    echo "<br/>";
       echo   $this->numBigBlockDepotBlocks = GetInt4d($this->data, NUM_BIG_BLOCK_DEPOT_BLOCKS_POS);
       echo "<br/>";
       echo   $this->sbdStartBlock = GetInt4d($this->data, SMALL_BLOCK_DEPOT_BLOCK_POS);
       echo "<br/>";
       echo   $this->rootStartBlock = GetInt4d($this->data, ROOT_START_BLOCK_POS);
       echo "<br/>";
       echo   $this->extensionBlock = GetInt4d($this->data, EXTENSION_BLOCK_POS);
       echo "<br/>";
       echo   $this->numExtensionBlocks = GetInt4d($this->data, NUM_EXTENSION_BLOCK_POS);
       exit;php5.3.8 xp:
string './test_s.xls' (length=12)string '邢唷������������������>���� �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������'... (length=18944)
1
31
1
-2
0
php5.2.6 linux :
string(12) "./test_s.xls"
-118692
811348060
103832585
811348060
1543581788
Fatal error: Maximum execution time of 30 seconds exceeded in /www/7005/phpExcelReader/Excel/oleread.inc on line 106