Recommend this page to a friend! |
Download .zip |
Info | Documentation | Demos | View files (5) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2021-04-26 (4 months ago) | Not yet rated by the users | Total: 92 | All time: 9,606 This week: 259 |
Version | License | PHP version | Categories | |||
class_ezcaptcha 1 | GNU General Publi... | 5 | HTML, PHP 5, Validation |
Description | Author | ||||||||||||||
This class can validate human users showing an image with a text. |
|
Copy the class_ezcaptcha.php file on your server and replace "<real path to your ttf fonts>" for the real url pointting to the fonts files changin the name of the fonts aswell if you needed. Include the tag <catpcha></captcha> in the html file at the place yuo want to show the captcha. You most include JQuery into your html file and include the following javascript fragment at the end of the html file inside the <script></script> tags. Remember to replace the "<urlto>" for the real url pointting to the class_ezcaptcha.php file (function(){ $.ajax({url:"<urlto>class_ezcaptcha.php?getHtml=1", success: function(result){ $("captcha").html(result); }}); })(); Include the param captcha and his value on your POST or GET param string when you're sending the form http request. Validate the params at your server side code using someting like this: if($_POST['captcha']!=$_SESSION['captcha_code']){return "ERRORcaptcha|Wrong captcha";} Validate the resoults in your ajax/html file after sendig the http request. Enjoy it... |
Files |
File | Role | Description |
---|---|---|
class_ezcaptcha.php | Class | php code |
howto | Doc. | How to |
icon | Icon | image |
image | Photo | image |
screenshot.png | Photo | image screenshot |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.