Welcome Guest, Not a member yet? Register   Sign In
an enhanced captcha as helper
#6

[eluser]JP X3M[/eluser]
i did excatly that and then in my register controller i have these settings...

Code:
function  index(){
        
        // create the captcha-config
        $aCaptchaCfg = array(
            //'word'          => 'myrandomword',    //default: random()
            'length'        => 6,                         //default: 5
            'img_path'   => site_url().'captcha/',   //no default !
            'img_url'       => site_url().'captcha/',  // no default!
            'font_path'  => site_url().'system/fonts/', // default: ./system/fonts/
            'fonts'         => array('corsiva.ttf', 'TSCu_Comic.ttf'), // default: texb.ttf
            'font_size'     => 15,      // default: 18
            'img_width'  => '180',  // default: 170
            'img_height' => '60',   // default: 60
            'expiration' => 7200 // default: 7200
            );
        
        // get captcha-stuff
    $aCaptcha = create_captcha($aCaptchaCfg);
    }

then i tried print_r($aCaptchaCfg) and it outputs the array so i guess it should be okay...

next should i echo it or anything? thanks for your help!

UPDATE:

oh im so sorry i forgot to read the original catpcha plugin... i read it just now and i will try it first... thanks for your help though... ^__^


Messages In This Thread
an enhanced captcha as helper - by El Forum - 09-27-2007, 07:39 AM
an enhanced captcha as helper - by El Forum - 09-27-2007, 01:01 PM
an enhanced captcha as helper - by El Forum - 09-30-2007, 03:13 PM
an enhanced captcha as helper - by El Forum - 10-27-2007, 10:06 AM
an enhanced captcha as helper - by El Forum - 10-27-2007, 10:29 AM
an enhanced captcha as helper - by El Forum - 10-27-2007, 08:26 PM
an enhanced captcha as helper - by El Forum - 10-29-2007, 04:27 AM
an enhanced captcha as helper - by El Forum - 10-29-2007, 04:40 AM
an enhanced captcha as helper - by El Forum - 05-08-2008, 02:21 AM
an enhanced captcha as helper - by El Forum - 05-20-2008, 02:21 AM
an enhanced captcha as helper - by El Forum - 05-20-2008, 02:54 AM
an enhanced captcha as helper - by El Forum - 05-20-2008, 05:36 AM
an enhanced captcha as helper - by El Forum - 06-04-2008, 09:52 AM
an enhanced captcha as helper - by El Forum - 09-25-2008, 10:01 PM
an enhanced captcha as helper - by El Forum - 01-11-2009, 08:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB