Welcome Guest, Not a member yet? Register   Sign In
Creating captcha in form
#6

[eluser]InsiteFX[/eluser]
Even I missed this at first look! But I am AWAKE now!
Code:
$this->load->helper('captcha');

// whats wrong with the line below? Missing $
vals = array(

// should be:
$vals = array(
    'img_path' => './furniture/static/captch/',
    'img_url'  => 'http://phphost/furniture/static/captcha/'
    );

$cap = create_captcha($vals);
echo $cap['image'].'Hello....';



Messages In This Thread
Creating captcha in form - by El Forum - 05-07-2012, 12:08 AM
Creating captcha in form - by El Forum - 05-07-2012, 12:53 AM
Creating captcha in form - by El Forum - 05-07-2012, 02:04 AM
Creating captcha in form - by El Forum - 05-07-2012, 02:17 AM
Creating captcha in form - by El Forum - 05-08-2012, 02:12 AM
Creating captcha in form - by El Forum - 05-08-2012, 03:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB