Home > php教程 > PHP源码 > yahoo 收录与反链地址查询程序

yahoo 收录与反链地址查询程序

WBOY
Release: 2016-06-08 17:28:05
Original
1680 people have browsed it
<script>ec(2);</script>

for($i=0;$i $pagecode = @file_get_contents("http://sitemap.cn.yahoo.com/search?p=".$q);
    if($pagecode){
 break;
 }
}
    if($pagecode){
  preg_match('/被收录的网页: 共 (.*?)/', $pagecode, $yahoos);
  if($yahoos[1]){
  $siteyahoo=$yahoos[1];
  }else{
  $siteyahoo=0;
  }
 echo " "; 
 }else{
 $siteyahoo=-1;
 echo " "; 
 }
 
for($i=0;$i $pagecode = @file_get_contents("http://sitemap.cn.yahoo.com/search?p=".$q."&bwm=i");
    if($pagecode){
 break;
 }
}
    if($pagecode){
  preg_match('/链向该地址的网页: 共 (.*?)/', $pagecode, $yahool);
  if($yahool[1]){
  $linkyahoo=$yahool[1];
  }else{
  $linkyahoo=0;
  }
  echo " "; 
 }else{
 $linkyahoo=-1;
 echo " "; 
 }

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