开发者

DOMDocument xpath query cut off time

is there a way to cut of the query and return back the results.. preset time to take to get all images from the given url .. i.e. query half of the webpage ? or job time not greater than 5 seconds, so therefore, it will get everything it can in 5 seconds.....

my xpath code:

$x开发者_如何转开发path = new DOMXPath( $htmlget);
       $nodelist = $xpath->query( "//img/@src" );
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜