07-13-2018, 10:29 PM
(07-13-2018, 08:10 AM)Pertti Wrote: Assuming you are using CodeIgniter Catpcha helper.I try with this solution,but not get it
You have to use generated image URL instead of hardcoded URL.
Controller:
PHP Code:$cap = create_captcha($captcha_options);
$this->load->view('yourview', ['cap' => $cap]);
View:
Code:<?= $cap['image'] ?>
The image attribute already holds full img tag.
More in the manual:
https://www.codeigniter.com/user_guide/h...elper.html
I attached both file also please make a correction