Thread IP-Sperre (6 answers)
Opened by Batzen at 2004-03-14 15:34

[E|B]
 2004-03-14 16:11
#1641 #1641
User since
2003-08-08
2561 Artikel
HausmeisterIn
[Homepage] [default_avatar]
Hey Bernd! ;)

Code: (dl )
1
2
3
4
5
6
7
8
my @ip = qw(123.43.25.1.34, 95.46.3.56.3, 35.76.21.34.3);
my $x = 0;
foreach (@ip){
if($ENV{'REMOTE_ADDR'} eq $_){
print "Du bist gesperrt!";
last;
}
}
\n\n

<!--EDIT|[E|B]|1079278345-->
Gruß, Erik!

s))91\&\/\^z->sub{}\(\@new\)=>69\&\/\^z->sub{}\(\@new\)=>124\&\/\^z->sub{}\(\@new\)=>);
$_.=qq~66\&\/\^z->sub{}\(\@new\)=>93~;for(@_=split(/\&\/\^z->sub{}\(\@new\)=>/)){print chr;}

It's not a bug, it's a feature! - [CGI-World.de]

View full thread IP-Sperre