PHPExcel exception 'Exception' with message 'The filename is not recognized as an OLE file problem solving_PHP tutorial

WBOY
Release: 2016-07-13 09:49:38
Original
1275 people have browsed it

PHPExcel exception 'Exception' with message 'The filename is not recognized as an OLE file problem solving

Exception 'Exception' with php occurred when parsing excel documents using phpExcel message 'The filename ../phpernote.com/user.xls is not recognized as an OLE file' in D:phpernoteapachehtdocs... error message.

Cause of the problem:

I directly used the excel document created by Excel2007. Although it is also an xls type document, the format seems to be incompatible. Even if xlsx is changed to xls, the above error will still be reported.

Solution:

After creating the document using Excel2007, then save it as 2003.

Articles you may be interested in

  • php prompt Maximum execution time of 30 seconds exceeded... Error solution
  • Web page cache control Cache-control common The values ​​include private, no-cache, max-age, and must-revalidate. Introduction
  • select into from prompts Undeclared variable..... Error solution
  • php prompts PHP Warning: date(): It is not safe to rely on the... Error solution
  • The difference and usage of select into from and insert into select
  • phpMyAdmin Cannot start session without Error solution
  • php uses the session_set_save_handler() function to save the session to the MySQL database
  • Send email SMTP Error Could not connect to SMTP host. send fail solution

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1019139.htmlTechArticlePHPExcel exception 'Exception' with message 'The filename is not recognized as an OLE file problem solving php uses phpExcel to parse Exception 'Exception' occurred during the process of excel document...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template