冬镜链接防拦截小工具,可以帮助大家防止TX管家拦截自己的域名哦!

$ini = array( 'title'=>'冬镜防红短链接', 'keywords'=>'防红,tx防红', 'description'=>'过腾讯拦截!', ); if(strpos($_SERVER['HTTP_USER_AGENT'], 'QQ/')!==false) 
{
echo '

';
exit;
}
{
$curl = curl_init();
$httpheader[] = "Accept:*/*";
$httpheader[] = "Accept-Language:zh-CN,zh;q=0.8";
$httpheader[] = "Connection:close";
curl_setopt($curl, CURLOPT_HTTPHEADER, $httpheader);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_TIMEOUT, 3);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_URL, $url);
$res = curl_exec($curl);
curl_close($curl);
return $res;
} function gld($longurl) 
{
$appkey = '31641035';
$url='http://api.t.sina.com.cn/short_url/shorten.json?source='.$appkey.'&url_long='.urlencode($longurl);
$result = httpGet($url);
$arr = json_decode($result, true);
return isset($arr[0]['url_short'])?$arr[0]['url_short']:false;
} ?>

下载地址:https://pan.baidu.com/s/1qYmdZQW

版权:冬镜资源网(www.520xx.cc)

最新SEO技术博客:重庆SEO - http://uqseo.com

打赏作者 分享本文
取消

感谢您的大力支持,冬镜会继续努力的.

扫码支持
扫码赞赏,你说多少就多少.
关 闭 赞 赏

打开支付宝扫一扫,即可进行扫码赞赏哦

CopyRight 2017-2018 冬镜资源网,分享从这里开始,精彩与您同在.