[eluser]nicole.jav[/eluser]
This is my post controller
$this->load->helper('captcha');
$vals = array(
'img_path'=>'./application/captcha/',
'img_url'=>base_url().'application/captcha/',
'img_width'=>150,
'img_height'=>30
);
$cap = create_captcha($vals);
$this->session->set_userdata('captcha',$cap['word']);
$data['captcha'] = $cap['image'];
$data['cap'] = $cap['word'];
$this->load->view('post', $data)
and this is post view
echo("<br>Captcha : " . $captcha);
The image is generating fine in the folder, the source of the page when displayed in browser is showing
Captcha : <img src="http://localhost/mvc2/application/captcha/1395300779.8935.jpg" width="150" height="30" alt=" " />
but the image is not displaying . . . . . . HELP