« Update on "Closing the door on comment spammers"oosterdam cruise control - Google Search »

hackblog@wonderwinds - Antispam Rechecking Dawn

03/25/06

  12:20:39 pm, by The Dreamer   , 155 words  
Categories: General, Software

hackblog@wonderwinds - Antispam Rechecking Dawn

Link: http://wonderwinds.com/hackblog.php/2005/09/18/antispam_rechecking_dawn

Today, I decided to finally merge this hack into my blog site.

Though since I upgraded to Dawn and my current vigilence of watching for spam, it hasn't been a major need.

But, with the recent surge in bot attacks on blogs, I've decided to beef up some of the antispam measures on my site.

Installing this was pretty straight forward....slight adjustment to the supplied b2antispam.php on two counts though.

  1. Keep the changes related to antispam_byip
  2. Fix a SQL error encountered during the recheck_all....

The gist of the SQL error, is that there's a hidden field in the form(s) for 'recheck', but the PHP script doesn't process this parameter...though it uses the variable which as a result is always undefined. And, the parts of the code that don't check of $recheck is defined, cause SQL errors.

Solved by adding this line to b2antispam.php:

param( 'recheck', 'integer', 0 );

No feedback yet

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 2 months 28 days 1 hour 14 minutes and 26 seconds until the end of time.
And, it has been 4 years 10 months 12 hours 48 minutes and 30 seconds since The Doctor saved us all from the end of the World!

Search

October 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 0
This seal is issued to lawrencechen.net by StopTheHacker Inc.
powered by b2evolution CMS

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime