find('h3>a')->texts(); //获取搜索结果标题列表 //$links = $ql->find('h3>a')->attrs('href'); //获取搜索结果链接列表 //print_r($titles); //print_r($links); //die(); $times = 3; $wd = $_REQUEST['wd']; if (!$wd) { ?>





爬取深度
/home/wwwroot/wyt.phplife.net/wangyating.log &",$wd,$deep); $str= shell_exec($cmd); echo "任务提交成功!"; // echo "完成,总耗时".$second."秒"; }