PHP头条
热点:

PHPExcel的exception 'Exception' with message 'The filename is not recognised as an OLE file问题解决


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的。

您可能感兴趣的文章

  • php提示Maximum execution time of 30 seconds exceeded...错误的解决办法
  • 网页缓存控制 Cache-control 常见的取值有private、no-cache、max-age、must-revalidate 介绍
  • select into from 提示 Undeclared variable.....错误的解决办法
  • php提示PHP Warning: date(): It is not safe to rely on the......错误的解决办法
  • select into from 和 insert into select 的区别和用法
  • phpMyAdmin Cannot start session without errors错误解决办法
  • php利用session_set_save_handler()函数将session保存到MySQL数据库中
  • 发送邮件SMTP Error Could not connect to SMTP host. send fail的解决办法

www.phpzy.comtrue/php/2182.htmlTechArticlePHPExcel的exception 'Exception' with message 'The filename is not recognised as an OLE file问题解决 php使用phpExcel解析excel文档的过程中出现 exception 'Exception' with message 'The filename ../phpernote.com/user.xls is not...

相关文章

    暂无相关文章
相关频道:

PHP之友评论

今天推荐