一个php页怎么运行20分钟不超时

WBOY
Release: 2016-06-13 13:49:58
Original
1779 people have browsed it

一个php页如何运行20分钟不超时?
http://rank.5eo.com/

看他的 Google PageRank 全站PR检测系统 v1.1

比如我们搜索个地址: qiangju.org他就在这里不停的跑 
几秒打印一条

没有结束的样子,搜个地址多的域名 跑20分钟还没有完的迹象.

他怎么实现的?


------解决方案--------------------
php.ini改一改。。
------解决方案--------------------
set_time_limit()


------解决方案--------------------
set_time_limit(0)//0为不限时,单位秒。。。。。
------解决方案--------------------
不应该是PHP干的事情。
------解决方案--------------------
我觉得也是
------解决方案--------------------
有延时的处理吧
------解决方案--------------------
php.ini里的max_execution_time 变量

set_time_limit(0)
都是设置脚本执行最长时间的

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!