Php

Download : 123robotspoiler.php into your site.

Then include this at the top of your .php page
<?include("123robotspoiler.php");?>

Then
       
<?
if ($CAPTCHA_VALID!='') {
    echo "<span><strong>You are validated</strong></span>";
    //add your business logic here
}else {
    echo "<span><strong>You are NOT validated</strong></span>";
}>?

Jsp

Download : 123robotspoiler.jsp into your site. (Rename it to 123robotspoiler.jsp)


<jsp:include page="123robotspoiler.jsp">

Then

<%
if (CAPTCHA_VALID) {

  out.println("<span><strong>You are validated</strong></span>");
  //add your business logic here
}else {
     out.println("<span><strong>You are NOT validated</strong></span>");
}%>


Python

Download : 123robotspoiler.py into your site.



import httplib, urllib

def _check_captcha(self, req):
        answer = req.args.get('_captcha_answer')

        if answer != '' :
                params = urllib.urlencode({'_captcha_answer': answer,
                  '_captcha_account': 'null',
                  '_captcha_via_host':  req.remote_addr })
                headers = { 'Content-type': 'application/x-www-form-urlencoded',
                  'Destination': req.href}

                conn = httplib.HTTPConnection('www.mofokom.biz')
                conn.request('POST', '/captcha/robot-spoiler.html', params, headers)
                r1 = conn.getresponse()

                conn.close()
                if r1.status == 200:
                        captcha_valid = 1
                else:
                        captcha_valid = 0

                return captcha_valid