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

关于PHP导入excel文件的问题

WBOY
Release: 2016-06-23 14:08:22
Original
884 people have browsed it

我用的是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.ini 中的memory_limit 的值改大点试试

将php.ini 中的memory_limit 的值改大点试试 还是不太行 好难过哦

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