PHP Classes

RainCaptcha: Validate CAPTCHA images with RainCaptcha

Recommend this page to a friend!
  Info   Example   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 486 All time: 5,907 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: 3309442 in United States United States
Week rank: 178 Up22 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 (3)  
  • example-1.png
  • example-2.png
  • example-3.png
  Files folder image Files (6)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:486
This week:0
All time:5,907
This week:524Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2518