


PHPExcel的exception 'Exception' with message 'The filename is not recognised as an OLE file问题解决
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的解决办法

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6
Visual web development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),
