jilabaji / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

script freezing issue #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I had a problem with this new version, and the older version of the Excel 
Reader, where on certain files the script would timeout, or exhuast all 
availible memory.

When i debugged the script and the xls file i was working with, i found the 
'name' of the file in the propery array was "WORKBOOK"

On line 246 of excel_reader2.php you have 
    if ($name == "Workbook")

Changed this to:
     if ((strtolower($name) == "workbook")

This fixed the problem.

Original issue reported on code.google.com by tels...@gmail.com on 14 Feb 2009 at 7:51

GoogleCodeExporter commented 9 years ago
Fixed in version 2.2

Original comment by matthew....@gmail.com on 25 Mar 2009 at 2:32