in reply to Re: Testing form params
in thread Testing form params
open(BANNED, "<$banned") or die "Cannot open $banned because: $!"; while(<BANNED>) { if ($_ eq $ENV{REMOTE_ADDR}) { print "<font color=red>Your IP has been banned, you are not allow +ed to use this script.</font>\n"; exit; } } close(BANNED);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing form params
by b10m (Vicar) on Jan 13, 2004 at 12:26 UTC |