reg.php
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!doctype html>
<html>
<meta charset="utf-8">
<?php
session_start();
require('conn.php');
require('functions.php');
//全站访问
if($config['fangwen']==4){
exit('网站正在更新');
}
if($_SESSION['login']==1){
_location("ucenter.php",301);
exit;
}
$ip=GetIP();
//地区限制
if($config['area']!=='全国'){
require('ipclass.php');
$iplocation = new IpLocation();
$location = $iplocation->getlocation($ip);
$country=to_utf8($location['country']);
$config_country=$config['area'].$config['city'];
$country2=str_replace('地区','',$config_country);
if($country!==$country2){
exit('当前城市非推广地区,禁止注册');
}
}
//注册
$tj_id=guolv(trim($_POST['tj_id']));//推荐人
if(is_numeric($tj_id)){
$row_tj=$mysql->query("select * from `userdata` where `id` in({$tj_id})");
if(!$row_tj){
$tj_id=0;
}
}else{
$tj_id=0;
}
if($_POST){
$phone=guolv(trim($_POST['username']));
$pass=guolv(trim($_POST['password']));
// $code=guolv(trim($_POST['code']));
$yzm=guolv(trim($_POST['yzm']));
$yzm1 = substr($phone,3,4);
if($config['openreg']==0){
echo "<script>alert('注册关闭,请联系我们');location.href='reg.php'</script>";
exit;
}
if($config['ipreg2']==1){
$row_ip=$mysql->query("select * from `userdata` where `ip`='{$ip}' order by `id` limit 1");//获取相同ip
if($row_ip){
echo "<script>alert('为防止同一人注册多个号,禁止同一ip重复注册!');location.href='reg.php'</script>";
exit;
}
}
if(is_phone($phone)==false){
后面还有 179 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
