Home > Backend Development > PHP Tutorial > 小弟跪求指导 关于数据post的时间问题

小弟跪求指导 关于数据post的时间问题

WBOY
Release: 2016-06-23 14:08:56
Original
954 people have browsed it

就是我在导入数据到数据库时候,每次到30s左右就不导入了,提示错误,那些php.ini里面的东西我也都改大了,还是没效果,对了我用的是wampserver 2.2e
错误如下
http://localhost/moca/index.php/Product/doImportProduct/ 200 OK 30.01s
Ajax error: 200 parsererror


回复讨论(解决方案)

每次到30s左右就不导入了
显然是超时了

是插入还是批量导入?

是插入还是批量导入? 是批量导入excel文件数据

每次到30s左右就不导入了
显然是超时了 请问如何解决呢

set_time_limit(0);

set_time_limit(0);
听版主的

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