Jun
17
2015
PHPExcel的exception ‘Exception’ with message ‘The filename is not recognised as an OLE file问题解决
作者:
绝缘体.. 发布:
2015-06-17 13:08 分类:
未分类 阅读:
抢沙发
php使用phpExcel解析excel文档的过程中出现 exception ‘Exception’ with message ‘The filename ../phpernote.com/user.xls is not recognised as an OLE file’ in D:\phpernote\apache\htdocs… 错误提示。
问题原因:
我直接使用Excel2007创建的excel文档,虽然也是xls类型文档,但貌似格式不兼容,即使将xlsx改成xls,也同样会报上述错误。
解决办法:
使用Excel2007创建文档后,然后另存为2003的。
微信扫一扫,打赏作者吧~