From c9c7848bed22fe2dac367724bc7817fd025b502a Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 31 Jan 2013 03:49:04 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9241=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E7=9A=84ipv6=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/proftp.php | 2 +- tools/proftp_upload.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/proftp.php b/tools/proftp.php index c80724ea..01df1cf1 100644 --- a/tools/proftp.php +++ b/tools/proftp.php @@ -12,7 +12,7 @@ }else{ $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); //文件生成 $onlineappid=(int)@$_GET['onlineappid']; diff --git a/tools/proftp_upload.php b/tools/proftp_upload.php index d871209d..96eb8897 100644 --- a/tools/proftp_upload.php +++ b/tools/proftp_upload.php @@ -13,7 +13,7 @@ }else{ $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); //文件生成 $uuid=$_GET['uuid'];