I am having trouble stopping spammers on my site. I have set up captchas on my forum and register pages, that didnt stop them. I wrote a script that would ban ip addresses and save in database. If the ip is banned then that ip can not register a new account or login. That didnt stop them. All my spam is coming from the same two ip addressess. How are they getting passed these measures? Does anyone have a suggestion of what more I can do? My site is frontlinemassacre.com
Hii. Why you do that throuhg php? Do you have any firewall? and which OS you are using? TechBabu ------------- Don't just make a website: Make an impact
Um it would seem to me that your script is not working correctly, if the spam is indeed coming from the same two ip addresses every time. Perhaps you should show us the code?
I have tested all this code by in fact blocking my own ip on the site and it works. I was unable to login and I was unable to create a new account. I will upload the code later today to see if any can tell me if I did something wrong.
Additionally I would be more than happy to show you by blocking your ip from my site. just give me your ip and I will block it from my site and you can go see.
do this <?php $ip = $_SERVER['REMOTE_ADDR']; $the_ips = use a query to get the ips from the database and use WHERE ip='$ip' $count = mysql_num_rows($the_ips); if($count == "1"){ exit(); } ?>
What Captcha library are you using? ReCaptcha has a great one for PHP and it's pretty robust. I haven't had a single spam problem on my registration page since I installed it. Super easy to do, too. Probably was all of about 15 mins.
I couldnt tell you. It was a free one I found on hotscripts. It works but maybe bots can break it. But then again they souldnt be able to even get to my site after I block their ip. I will also look ito this. Thanks!