I got spam on my forum. It is an old forum, and I do not have time to upgrade it. From my web statistic, the spammers seems to come from 193.53.87.95 and 193.53.87.93. I tried setting my forum, to block these IPs. But it does not seems to be working.
I’m going to try redirect the visitor from that IP to my other forum filled with spam. Here’s the code:
<?php
ob_start();
$visitor = $_SERVER['REMOTE_ADDR'];
if (preg_match("/193.53.87.95/",$visitor)
|| preg_match("/193.53.87.93/",$visitor))
{
header('Location: http://www.destination.com');
}
ob_get_clean();
?>
|
Related posts:












3 comment(s)
Track this comments via RSS 2.0 feed. Feel free to post the comment, or trackback from your web site.
I have a forum but till now I haven’t problems with spam, because I have just few members. But in the future I’m convinced I will have this kind of problems, so I have bookmarked this article.
Robert, Yes - the more famous your forum, the bigger chance yours 'attacked' with spams - The best way is to hire a moderator (or group of moderators).
Probably in the future I will hire a moderator, but I don’t know how to find a good one. I hope I can recruit a moderator from my members, but first I must to see if there is a good one who can moderate an internet marketing related forum.
Any feedback from you?