基本信息
源码名称:晓杨防红全解
源码大小:7.27M
文件格式:.zip
开发语言:PHP
更新时间:2021-11-17
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍
晓杨防红全解


<?php        
include ("./includes/common.php");
header("Access-Control-Allow-Origin:*");
header("Access-Control-Allow-Methods:GET,POST");
header('Access-Control-Allow-Headers:x-requested-with,content-type');
header("Content-Type: text/html; charset=utf-8");
//防刷
$sj1 = file_get_contents('includes/sj.php');
$sj2 = date("Y-m-d H:i:s");
if ($sj1 >= $sj2) {
        exit('{"msg":"系统正忙!请等待'.$conf['zzly'].'秒后再试吧~"}');
}
//获取接口
$http=get_headers('http://'.$_SERVER['HTTP_HOST']);
//耗时 0.67~0.78
if ($http[0] == 'HTTP/1.1 200 OK') {
$sgx = file_get_contents('http://'.$_SERVER['HTTP_HOST'].'/?go=api');
}else{
if ($http[0] == 'HTTP/1.1 301 Moved Permanently') {
$sgx = file_get_contents('https://'.$_SERVER['HTTP_HOST'].'/?go=api');
}else{
exit('{"msg":"网站SSL配置错误"}');
}
}


?>