BTW, wouldn't taint have caught this? He's trusting user supplied data (DNS name) in an unsafe way.my $remote = $ENV{REMOTE_ADDR}; return(0) unless grep /$remote/, @$hosts;
Update: See merlyn's reply on how to do this right.
-- Dan
In reply to Re: •Re: anti leech CGI
by zigdon
in thread anti leech CGI
by hiseldl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |