Home > Backend Development > PHP Tutorial > 关于PHP导入excel文件的有关问题

关于PHP导入excel文件的有关问题

WBOY
Release: 2016-06-13 11:23:26
Original
833 people have browsed it

关于PHP导入excel文件的问题
我用的是thinkphp框架,在导入excel的时候,当excel文件里面数据较多时会有一个ajax报错而且速度有点慢,excel里数据较少的时候没这个情况,比如我excel里面有3000条数据一般导入到五六百条就会有这个ajax报错,求大神解答
_ajaxError: function(data, transport) {
if(data.status == 0 && transport == null)
alert("The page is not served from a server! ajax call failed");
else if(typeof console != "undefined")
console.log("Ajax error: " + data.status + " " + transport);
}, 

PHP Excel Ajax
------解决方案--------------------
将php.ini 中的memory_limit 的值改大点试试
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