Gossamer Forum
Home : Gossamer Threads Inc. : Discussion :

Re: i think many would appreciate..

Quote Reply
Re: i think many would appreciate.. In reply to
You could use -

@badsites = qw( spammer.com spammer2.com spammer3.com );

foreach (@badsites) {
if (grep /$_/i, $in{'URL'}) {
&site_html_add_failure ("DONT SPAM ME");
}
}

Also you could use -

@badip = qw( 111.111.111.111 222.222.222.222 );

foreach (@badip) {
if ($ENV{'REMOTE_ADDR'} =~ /$_/) {
&site_html_add_failure ("DONT SPAM ME");
}
}

I don't guarantee it but I think it should work. When I say I don't guarantee it, I mean in terms of syntax because I haven't tested it.

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Subject Author Views Date
Thread Spam problem No;1 at Links2??? gossy 13811 May 11, 2001, 2:29 AM
Thread Re: Spam problem No;1 at Links2???
qango 13441 May 11, 2001, 2:48 AM
Thread Re: Spam problem No;1 at Links2???
gossy 13444 May 12, 2001, 2:44 AM
Thread Re: Spam problem No;1 at Links2???
Paul 13457 May 12, 2001, 4:26 AM
Thread Re: Spam problem No;1 at Links2???
gossy 13408 May 13, 2001, 3:12 AM
Thread Re: Spam problem No;1 at Links2???
Andy 13414 May 13, 2001, 4:25 AM
Thread Re: Spam problem No;1 at Links2???
Paul 13482 May 13, 2001, 4:31 AM
Post Re: Spam problem No;1 at Links2???
glennu 13351 May 13, 2001, 6:39 AM
Post Re: Spam problem No;1 at Links2???
Andy 13336 May 13, 2001, 9:12 AM
Thread Re: add confirm confusion
gossy 13300 May 13, 2001, 9:07 PM
Thread Re: add confirm confusion
glennu 13287 May 14, 2001, 2:18 AM
Thread Re: now i got it
gossy 13392 May 14, 2001, 3:04 AM
Thread Re: now i got it
Paul 13345 May 14, 2001, 3:21 AM
Post Re: had 3 different spammers this week
gossy 13229 May 15, 2001, 3:23 AM
Thread Re: now i got it
glennu 13341 May 14, 2001, 3:31 AM
Thread Re: i think many would appreciate..
gossy 13269 May 15, 2001, 3:29 AM
Thread Re: i think many would appreciate..
Paul 13281 May 15, 2001, 4:50 AM
Thread Re: i assume....
gossy 13263 May 15, 2001, 11:08 PM
Thread Re: i assume....
Paul 13198 May 16, 2001, 4:30 AM
Post Re: i thanks,
gossy 2383 May 17, 2001, 2:08 AM
Thread Re: i think many would appreciate..
Stealth 13247 May 15, 2001, 7:41 AM
Post Re: i think many would appreciate..
glennu 13200 May 15, 2001, 7:46 AM
Thread Re: Spam problem No;1 at Links2???
Alex 13336 May 13, 2001, 12:22 PM
Thread Re: Spam problem No;1 at Links2???
pugdog 13428 May 13, 2001, 1:33 PM
Post Re: Spam problem No;1 at Links2???
Alex 13330 May 13, 2001, 1:55 PM
Post Re: Spam problem No;1 at Links2???
Paul 13475 May 11, 2001, 3:46 AM