搜索
博主信息
博文 1
粉丝 0
评论 0
访问量 666
相关推荐
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
cy
a` CY的博客
原创
666人浏览过

<?php


$d=$_GET['cy'];

$url = "http://$d.18ck.cn";//这里是要跳转的域名


$scriptpath = str_replace('\\', '/', $_SERVER['SCRIPT_NAME']);

$sitepath = substr($scriptpath, 0, strrpos($scriptpath, '/'));

$siteurl = $url;

if (strpos($_SERVER['HTTP_USER_AGENT'], 'QQ/') !== !1 ) {

echo '<!DOCTYPE html>

<html>

 <head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <title>请使用浏览器打开</title>

  <script src="https://open.mobile.qq.com/sdk/qqapi.js?_bid=152"></script>

  <script type="text/javascript"> mqq.ui.openUrl({ target: 2,url: "' . $siteurl . '"}); </script>

 </head>

 <body></body>

</html>';

exit;

}

echo "<script type='text/javascript'>";

echo "window.location.href='$url'";

echo "</script>";

?>


本博文版权归博主所有,转载请注明地址!如有侵权、违法,请联系admin@php.cn举报处理!
全部评论 文明上网理性发言,请遵守新闻评论服务协议
0条评论
作者最新博文
  • cy
    1970-01-01 08:00:00
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号

  • 登录PHP中文网,和优秀的人一起学习!
    全站2000+教程免费学