Did you get the error from your PHP/Excel library?
Warning: require_once(Spreadsheet/Excel/Reader/OLERead.php): failed to open stream: No such file or directory in ...??
Looks like you have downloaded the opensource phpexcelreader library and didn't edit the reader.php file. Just follow the below two steps, and it will get out from the error.
1) Open the reader.php file from the Excel folder. Remove the below code from the top of the line.
require_once 'Spreadsheet/Excel/Reader/OLERead.php';
2) And add the below code after remove that.
require_once 'Excel/oleread.inc';
Now try to run your code. It will work now.
Sunday, September 6, 2009
PHP: Warning: require_once(Spreadsheet/Excel/Reader/OLERead.php)
Subscribe to:
Post Comments (Atom)
7 comments:
Thanks!
Just came across this post and the excel reading worked with the change suggested.
Thanks a lot !
My uncle send me a letter where he asked about excel problem. I advised him a tool, which I was found some days ago. To my great surprise, he thanked me a lot and besides I believe that this tool would be useful for any situation with excel files - excel spreadsheet repair.
Thanks
It helps me. Thanks
http://www.freelancerin.com/
Thanks it helps me a lot
FreelancerIn.com
Worked perfectly. Thanks.
Post a Comment