王国cms归类信息内容电話号码查寻

2021-01-28 04:40| 发布者: | 查看: |

if($Type==0){
$GetContent = substr($FileStr,0-(strlen($FileStr)-(strpos($FileStr,$StartStr)+strlen($StartStr))));
$GetContent = substr($GetContent,0,strpos($GetContent,$EndStr));
return $GetContent;
}else{
$GetContent = substr($FileStr,0-(strlen($FileStr)-(strpos($FileStr,$StartStr))));
$GetContent = substr($GetContent,0,strpos($GetContent,$EndStr)+strlen($EndStr));
return $GetContent;
}
}else{
return "";
}
}
/*
涵数搭建完毕
*/
$id=$_GET['id']; //ID
$file = 'phone.txt'; //设置电話文档详细地址
//假如ID为空撤出
if(empty($id))
{
exit();
}
else
{
//查寻文档内是不是有详细地址
$myaddress=readfiletext($file,$id);

if ($myaddress) { $showadd=$myaddress; }
else {
//得到号码详细地址网页页面
$show=file_get_contents("ip/?q=$id"); //手机上号码段
//载入文档
@$dh=Cut($show,'您的查寻: nbsp;',"n /li li ",0);
if(!$dh) {
@$dh=Cut($show,'您的查寻: nbsp;',' nbsp; /li li ',0); }
$dh = trim(ereg_replace("rn","",$dh));
$dh =nl2br(preg_replace('/[ ]+/',' ',$dh));
$showadd=$dh;
$dh=$id.'||'.$dh.'||'."rn";
writefiletext ($file,$dh); }
}

?
span a href="#clos" / X关掉 /a /span nbsp; nbsp; font color=red 查寻結果 /font
div id=cresult
ul
?php
if ($showadd) {
print_r(str_replace("查寻太经常,临时禁止使用", "无", "$showadd")); //$showadd);
}
else {
echo " li 网络服务器忙,请稍后再试 "; }
?
/li
/ul
/div

<
>

 
QQ在线咨询
售前咨询热线
18720358503
售后服务热线
18720358503
返回顶部