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
Not enough user ratingsTotal: 485 All time: 5,895 This week: 330Up
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: 3295441 in United States United States
Week rank: 568 Up66 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:485
This week:0
All time:5,895
This week:330Up