PHP Classes

RainCaptcha: Validate CAPTCHA images with RainCaptcha

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 486 All time: 5,906 This week: 524Up
Version License PHP version Categories
raincaptcha 1.0Public Domain5.0PHP 5, Graphics, Web services, Valida..., S...
Description 

Author

This class can validate CAPTCHA images with RainCaptcha.

It can generate an URL to display a CAPTCHA validation image served by the RainCaptcha service.

The class can also send a request to RainCaptcha API to verify if the text that the user entered matches the text in the CAPTCHA image.

Picture of ~~
Name: ~~ <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 3307441 in United States United States
Week rank: 305 Up35 in United States United States Up

Example

<?php
   
require_once('RainCaptcha.class.php');
   
$captcha = new RainCaptcha();
?>
<html>
    <body>
        <form action="example_handler.php" method="post">
            <table>
                <tr>
                    <th>Captcha</th>
                    <td>
                        <img src="<?php echo $captcha->getImage(); ?>" />
                        <br />
                        <input name="captcha" type="text" maxlength="5" />
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" value="Submit" /></td>
                </tr>
            </table>
        </form>
    </body>
</html>


Screenshots  
  • example-1.png
  • example-2.png
  • example-3.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file RainCaptcha.class.php Class RainCaptcha PHP Module
Accessible without login Plain text file example_form.php Example Example
Accessible without login Plain text file example_handler.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:486
This week:0
All time:5,906
This week:524Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2514