I see a lot of directory owners complaining about SPAM on their directories. Our last post covered a method to <a href=https://www.directoryroll.com/blog/remove-spam-on-phpld-free-version-free-mod/>get rid of SPAM using keywords in description</a>. Today I will show you a small change that can make your captcha a math question. It will sure reduce automated spam submissions.

I have rewritten create_CAPTCHA method in libs/captcha/captcha.class.php file in free version of PHPLd to get this change. Its now generating two integers and using the sum as the captcha value. You are free to change it to multiplication.

Simply download the attachment and replace your captcha.class.php file. You may want to change phrase_length to 5 in your captcha.php but that’s totally optional. Don’t forget to change your template to say ‘enter the sum’ instead of type the characters.

You can see a demo at my new <a href=https://www.weblinkstoday.com>web directory</a>. This screenshot might help you understand the mod better.

Math Captcha

Download the mod by clicking the link: mathcaptchaclass

Tags: , , ,

One Response to “Make your directory speak math - reduce SPAM”

  1. Seems a good mod for reducing spam. But download link is broken..

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>