切换服务器ipv6地址

This commit is contained in:
wlx 2013-03-13 07:55:18 +00:00
parent 89688944ad
commit f80820374c
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
}else{ }else{
$onlineip=$_SERVER['REMOTE_ADDR']; $onlineip=$_SERVER['REMOTE_ADDR'];
} }
if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006::401') if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006::9')
die("error! You are not permitted to visit this page.".$onlineip); die("error! You are not permitted to visit this page.".$onlineip);
//文件生成 //文件生成
$onlineappid=(int)@$_GET['onlineappid']; $onlineappid=(int)@$_GET['onlineappid'];

View File

@ -13,7 +13,7 @@
}else{ }else{
$onlineip=$_SERVER['REMOTE_ADDR']; $onlineip=$_SERVER['REMOTE_ADDR'];
} }
if ($onlineip!='210.77.68.241' && $onlineip!='210.77.68.215' && $onlineip!='2001:cc0:f006::401') if ($onlineip!='210.77.68.241' && $onlineip!='210.77.68.215' && $onlineip!='2001:cc0:f006::9')
die("error! You are not permitted to visit this page.".$onlineip); die("error! You are not permitted to visit this page.".$onlineip);
//文件生成 //文件生成
$uuid=$_GET['uuid']; $uuid=$_GET['uuid'];