您好,欢迎访问一九零五行业门户网

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

关于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 的值改大点试试
其它类似信息

推荐信息