Menu

Tree [b6a574] master /
 History

HTTPS access


File Date Author Commit
 captcha 2015-04-15 beremaran beremaran [a0bc30] Initial commit
 demo 2015-04-15 beremaran beremaran [a0bc30] Initial commit
 README 2015-04-15 beremaran beremaran [a0bc30] Initial commit

Read Me

 * BeanieCaptcha *
        0.1
        
 * beremaran / nDiphiloné
 
ABOUT
------------------------

    BeanieCaptcha is a simple captcha developed with PHP - JavaScript. 
 
INSTALLATION
------------------------

    1) Edit cpt_path in 'cpt_config.php' (in your BeanieCaptcha folder) as your
        folder name.
    2) Add 
    
        <?php include_once("YOUR_BEANIE_CAPTCHA_FOLDER/cpt_header.php"); ?>
        
        to your head section of page that contains the form.
        
    3) Add
    
        onsubmit="return cpt_handler.cpt_ifValidated();"
        
        to your form's <form tag. See Appendix A if you already have something
        on onSubmit event.
        
    4) Add
    
        <?php cpt_printCaptcha(); ?>
        
        to where do you want the captcha to be.
        
Appendix A
------------------------

    If you already have something on onSubmit event, you want to modify it like
that:
    Before:
    
    onSubmit="functionBlaBla();"
    
    After:
    
    onSubmit="return !!(cpt_handler.cpt_IfValidated() & functionBlaBla());"
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.