最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
php 收录查询baidu快照与收录页面
时间:2022-11-14 23:01:44 编辑:袖梨 来源:一聚教程网
function baidu()
{
global $murl,$furl;
$url = "http://www.baidu.com/s?wd=site:$furl";
$page = file_get_contents($url);
$PageNum = "0";
$PageNum = str_replace(",","",cut($page,"找到相关网页约", "篇" ));
if ($PageNum == "") $PageNum = str_replace(",","", cut($page,"找到相关网页", "篇"));
if ($PageNum == "") $PageNum = "0";
echo "$PageNum";
}
function baidukz()
{
global $murl,$furl;
$url = "http://www.baidu.com/s?wd=$furl";
$page = file_get_contents($url);
$kzdate = "0";
$kzdate = cut($page,"$furl", "" );
if($kzdate!=""){
/// 37K 2008-9-13
$kzarray = explode ('K', $kzdate);
$kzdate = trim($kzarray[1]);
if(trim($kzarray[1])!=""){
echo "$kzdate";
}
}
else{
echo escape("无");
}
}
相关文章
- 《无限暖暖》围巾蚯蚓具体作用介绍 12-24
- 《无限暖暖》星夜守望连衣裙获得方法介绍 12-24
- 《无限暖暖》魔物试炼幻境解锁方法介绍 12-24
- 《无限暖暖》磐岩晶石获得方法介绍 12-24
- 《无限暖暖》巨石岩仔打法攻略分享 12-24
- 《无限暖暖》布布果在哪 12-24