PHP uses Phpexcelreader to read Excel error summary as follows:
Error One: Deprecated:assigning the "return value of" of new by reference was deprecated in assigning the "return value of" by Refe Rence is deprecated into E:\WebSite\htdocs\EXCEL2\Excel\reader.php on line 261
This is php5.3 later version of the issue, php5.3 the following version does not appear
$this->_ole =& New Oleread ();
To
$this->_ole = new Oleread ();
php5.3 started, the abolition of the "=&" symbol in PHP, so want to copy, directly with = reference can
Error two: Warning:require_once (spreadsheet/excel/reader/oleread.php) [Function.require-once]: failed to open Stream:no Such file or directory in E:\WebSite\htdocs\EXCEL2\Excel\reader.php on line 31
Ways to modify:
Will require_once ' spreadsheet/excel/reader/oleread.php ';
Instead: require_once ' oleread.inc ';
Error Three:
Notice:iconv () [Function.iconv]: detected an illegal character into input string in D:\wamp\www\phpExcelReader\Excel\reade r.php on line 1056
Ways to modify:
Will example.php inside the
$data->setoutputencoding (' CP1251 ');
To
$data->setoutputencoding (' UTF-8 '); Or if your program code is GBK, change to GB2312.
Error Four:
Fatal error:maximum execution The seconds exceeded in E:\WebSite\htdocs\EXCEL2\Excel\oleread.inc on line 172
Download the inside of the Jxlrwtest.xls this Excel file has errors, please create a
Download Address: http://sourceforge.net/projects/phpexcelreader/