Home > php教程 > php手册 > body text

php 批量查询搜狗sogou

WBOY
Release: 2016-06-06 19:38:23
Original
729 people have browsed it

php批量查询搜狗sogou http://blog.ppsql.net/post-1858.html 无 ?phpdate_default_timezone_set('Asia/Shanghai');header('Content-Type: text/html; charset=utf-8');@$txt = file_get_contents("list.txt" );$arr = explode("\r\n" , trim($txt));if(count

php 批量查询搜狗sogou

http://blog.ppsql.net/post-1858.html
<?php
date_default_timezone_set('Asia/Shanghai');
header('Content-Type: text/html; charset=utf-8');

@$txt = file_get_contents("list.txt" );
$arr = explode("\r\n" , trim($txt));

if(count($txtarr)<0){
	exit('no site');
}

foreach($arr as $v){
	$sr=file_get_contents("http://rank.ie.sogou.com/sogourank.php?ur=http%3A%2F%2F{$v}%2F");
	$sr=str_replace('sogourank=','',$sr);
	if($sr>2){
		echo $v."<br />\n";
	}else{
		continue;	
	}
}
Copy after login
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 Recommendations
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!