When reading a excel file with a large String the creation
of the Object fails Following error comes up:
Notice: Uninitialized string offset: 1852570846 in
excel\reader.php on line 257
Notice: Uninitialized string offset: 1852570847 in
excel\reader.php on line 257
Notice: Uninitialized string offset: 1852570848 in
excel\reader.php on line 260
Logged In: NO
I had that problem. It turned out the part of my code that
was extracting the xls file was cutting off the file too
early, omitting the excel EOF character. You see that error
because reader.php will attempt to continue parsing until it
reaches the EOF character, regardless of wether or not
there's any data.
I fixed this problem by fixing my code to make sure the xls
file would end in the proper place, and I haven't had any
further problems.
Logged In: NO
--------------
I fixed this problem by fixing my code to make sure the xls
file would end in the proper place, and I haven't had any
further problems.
--------------
And how do you make sure the xls file ends in the right place?