• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Admin

Well-Known Member
Staff member
Administrator
Script ban IP - cấm một số (hoặc một chuổi) địa chỉ IP
m Vô hiệu hóa tất cả các wap khi gặp IP hoặc chuổi IP bị cấm.
code có thể dùng cho xtgem,wen.ru, html
code nay viết chia sẻ cho các bạn khong thạks thì thì ...khong có tác dụng nhé...:D
Code:
<script src="http://mincode.awardspace.com/code/addr.php" type="text/javascript"/>
<script type="text/javascript">
var banned_ip = new Array();
banned_ip[0] = '11.111';
banned_ip[1] = '22.34.56.7';
banned_ip[2] = '12.44.56.788';
banned_ip[3] = '11.22';
var mes_bi = "IP của bạn đã bị từ chối truy cập bởi tuoitreyb";
for(var i=0;i<banned_ip.length;i++) {
eval('var re = /^' + banned_ip[i] + '/ ;');
if (re.test(mc_user_ip))
{
document.write('<style type="text/css">');
document.write('BODY{display:none;}');
document.write('<\/style>');
alert(mes_bi);
break;
}
}
</script>
 
Coppy dan vao mot file ha? Hd su dung ty di?
 
Thank........................
 
Nhưng với html thì làm sao biết đc ip của khách hả a thắng.
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top