问下 循环太长超时 帮看看循环能改进下吗? 用set_time_limit,设长点时间试试;你也可试试,把内容取到,再存成一个文件,再对本地存的文件再进行处理 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 you needn't use loops to get the link page contents.you can first use regular expression to get the link url and put into it to db.when you want to use the data of these pages,use file_get_contents(),then you use the function just once. 如果能使用shell_exec的话,shell_exec( ' wget url -o file & ' );这样最快。 zeroleonhart(Strong Point:Algorithm) 读一条抓一条不行吗?再建立个表 分开执行 有些麻烦set_time_limit 时间太长了 设立的话要设个5分钟差不多 php 国际化 高手求助 高手看下这段函数错在哪里??? 如何判断同一个页面是否在多个窗口打开? 初学者问题,用$_POST['var']得不到post过来的变量值? 请教一个简单的SQL 内网系统,单号在提交时有做防重复判断,但是相同单号提交一次变成两次。 如何看到PHP文件原码或者下载PHP文件? 关于用php 如何去连接sql server 7.0数据库?急急急急急急急急!!! PHP POST无法接受数据 求大神解答 string转换为UTF8的问题 请问如何读入一个apache indexes跟着输出```
you can first use regular expression to get the link url and put into it to db.when you want to use the data of these pages,use file_get_contents(),then you use the function just once.
这样最快。