域名授权系统v1.0
后台登录用户名:admin 密码:admin
首先配置下 admin 文件夹里的 config.php 文件,然后导入根目录的 install.sql 文件到数据库
授权代码:↓↓↓↓↓↓↓↓↓
$LingFei = 'http://www.xtshare.cn/'换成你的授权系统的域名
if(!isset($_SESSION['authcode'])) {
$query=file_get_contents('http://www.xtshare.cn/check.php?url='.$_SERVER['HTTP_HOST']);
if($query=json_decode($query,true)) {
if($query['code']==1)$_SESSION['authcode']=$authcode;
else sysmsg('<h3>'.$query['msg'].'</h3>',true);
}
}