InnerShed Ltd
Unit 7, Oak Tree Business Park
Norwich, Norfolk, United Kingdom.

What we do

The InnerShed Captcha

You are free to use this Captcha for commercial or non commercial uses. InnerShed do not guarantee any part of this code of software. Use at own risk! Enjoy!

Five easy steps to setup your Captcha:

  1. Register the Captcha with InnerShed http://captcha.innershed.com/captcha_api.php?action=register - This will be return a hash code.
  2. The Hash code should be stored in 'SESSION' or in 'INPUT'
  3. To display the Captcha http://captcha.innershed.com/captcha_api.php?action=get_captcha&hash=HASH_CODE
  4. Validate Captcha http://captcha.innershed.com/captcha_api.php?action=validate&hash=HASH_CODE&password=CAPTCHA - Function will return "valid" or "invalid"
  5. Fianlly - additional parameters (registration, GET array):
    bg_color background color (default "ffffff")
    fore_color text color (default "000000")

Example :

 
 
 
 
Powered by InnerShed
 
 
 
 
 
Captcha Status:
PHP Source Code:
<?php
    
if($_SERVER['REQUEST_METHOD'] == "POST") {
        
$result file_get_contents('http://captcha.innershed.com/captcha_api.php?action=validate&hash='.$_POST['hash'].'&password='.$_POST['captcha']);
        echo 
$result;
    }
    
$hash file_get_contents('http://captcha.innershed.com/captcha_api.php?action=register');
    echo 
file_get_contents('http://captcha.innershed.com/captcha_api.php?action=get_captcha&hash='.$hash);
    echo 
'<form method="post" action="">';
    echo 
'<input type="text" name="captcha" value="" />';
    echo 
'<input type="hidden" name="hash" value="'.$hash.'" />';
    echo 
'<input type="submit" value="send" />';
    echo 
'</form>';
?>
Find us on Google+