• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
captcha image not loading in server

#4
(07-13-2018, 08:10 AM)Pertti Wrote: Assuming you are using CodeIgniter Catpcha helper.

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 try with this solution,but not get it
I attached both file also please make a correction


Attached Files
.php   Captcha.php (Size: 1.67 KB / Downloads: 34)
.php   loginn.php (Size: 965 bytes / Downloads: 21)
Reply


Messages In This Thread
captcha image not loading in server - by kvanaraj - 07-13-2018, 03:45 AM
RE: captcha image not loading in server - by kvanaraj - 07-13-2018, 10:29 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.