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 This week: 1All time: 5,903 This week: 560Up
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: 3303442 in United States United States
Week rank: 411 Up48 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:1
All time:5,903
This week:560Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2478