Welcome Guest, Not a member yet? Register   Sign In
Captcha using

[eluser]someone Smile[/eluser]

I have some problems with CAPTCHA library, because I don't know how to configurate it. In my view I just use this code:
$vals = array(
'word' => 'Random word',
'img_path' => './captcha/',
'img_url' => base_url("captcha/"),
'img_width' => '150',
'img_height' => 30,
'expiration' => 7200

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

But I don't know where I must create the folder captcha (for image path). When I use this code I can't get image where is captcha.

What I must do?

Thanks in advance! :-)

EDIT: I have loaded library in controller.

Theme © iAndrew 2016 - Forum software by © MyBB