PHP⽹站跳转链接go页⾯代码调整源码
使⽤教程:
css代码已经压缩过了所以不⽤管,⼩⾼已经整理打包好,下载后将压缩包内go.php⽂件打开编辑
(把链接改成⾃⼰的⽹站地址)
如何调⽤:
你的⽹站域名/go.php/?url=跳转到别⼈的⽹站地址
代码如下:
<?php
$t_url=$_GET['url'];
if(!empty($t_url)) {
preg_match('/(http|https):\/\//',$t_url,$matches);
if($matches){
$url=$t_url;
$title='亲爱的朋友记得常回来哦...';
} else {
preg_match('/\./i',$t_url,$matche);
if($matche){
$url=''.$t_url;
$title='亲爱的朋友记得常回来哦...';
} else {
$url='bk.52xftv';
$title='参数错误,正在返回⾸页...';
php好看主页源码
}
}
} else {
$title='参数缺失,正在返回⾸页...';
$url='bk.52xftv';
}
>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="refresh" content="5;url='<?php echo $url;?>';">
<title><?php echo $title;?></title>
<div id="circle"></div>
<div id="circletext"></div>
<div id="circle1"></div>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="refresh" content="1;url='<?php echo $url;?>';">
<title><?php echo $title;?></title>
<style>
<style type="text/css">
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,st </style>
</style></head>
<body>
<div id="loader-container"><p id="loadingText">页⾯加载中...</p></div>
</body>
</html>复制代码

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。