[eluser]Nonox[/eluser]
Hi.
I'm trying to use the captcha plug-in but I can't show the image!.
1) The .jpg is generated in to the folder with out any problem.
2) This is the html code generated:
Code:
<img src="http://192.168.1.104/captcha/1227218944.67.jpg" style="border: 0pt none ;" alt=" " width="150" height="30">
3) This is the code in my controller:
Code:
$this->load->plugin('captcha');
$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);
$datos_frm['captcha'] = $cap['image'];
4) Someone can help me?
As always, thanks!