修改241服务器的ipv6地址

This commit is contained in:
wlx 2013-01-31 03:49:04 +00:00
parent 3b5541708b
commit c9c7848bed
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:0:214:22ff:fe08:d277') if ($onlineip!='210.77.68.241' && $onlineip!='2001:cc0:f006::401')
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:0:214:22ff:fe08:d277') if ($onlineip!='210.77.68.241' && $onlineip!='210.77.68.215' && $onlineip!='2001:cc0:f006::401')
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'];