šŽO@y ƒXƒNƒŠƒvƒg‰ ..
[2ch|₯Menu]
629:nobody‚³‚ρ
05/02/12 14:58:20
cgi‚Ι‚±‚€‚’‚€‚Μ‚π“ό‚κ‚āAƒŠƒXƒg‚Ι‚ ‚ιIP‚π’e‚’‚Δ‚’‚ά‚·B
‚±‚κ‚π‹t‚ΙƒŠƒXƒg‚Ι‚ ‚ιIP‚Ύ‚―‹–‰Β‚Ε‚«‚ι‚ζ‚€‚Ι‰ό‘’‚Ε‚«‚Θ‚’‚Ε‚΅‚ε‚€‚©H
‚¨Šθ‚’‚΅‚ά‚·B

&hostcheck;
sub hostcheck{
local($host_file,$remote_host,$line);
local(@lines);
$host_file = './host.dat';
$host=$ENV{'REMOTE_HOST'};
open(DB,"$host_file") || die "Cannot Open Log File $host_file: $!";
@lines = <DB>;
close(DB);
foreach $line (@lines) {
next if(length($line)<4);
chop $line;
if( $host=~/$line/ ){print "Status: 204\n\n";exit;}
}
}#hostcheck END


ŽŸƒy[ƒW
‘±‚«‚π•\ަ
1‚π•\ަ
ΕVƒŒƒX•\ަ
ƒXƒŒƒbƒh‚ΜŒŸυ
—ήŽ—ƒXƒŒˆκ——
˜b‘θ‚Μƒjƒ…[ƒX
‚¨‚ά‚©‚ΉƒŠƒXƒg
₯ƒIƒvƒVƒ‡ƒ“‚π•\ަ
‰Ι‚Β‚Τ‚΅2ch

4116“ϊ‘O‚ɍXV/341 KB
’S“–:undef