In this video , you will be able to learn how to add captcha in your form in codeigniter.
Part 1 link:
• How to add Captcha in CodeIgniter | Captch...
git hub link for complete :(Only view and controller)
https://github.com/sushma-singh-yadav...
Steps:
Create a refresh button
Create a div/span with id for captcha image
span id="Captcha-image"
?php //echo $captcha_image;?
/span
Create a function (getNewCaptcha) in script , call ajax in that
After that pass the controller function you are creating captcha in.
Last show that in id for image
function getNewCaptcha() {
// body...
$.ajax({
url:"?php echo base_url('home/getNewCaptcha');?",
success:function(response)
{
$('#Captcha-image').html(response);
}
});
}
#codegniter #knowledgethrusters
En esta página del sitio puede ver el video en línea Refresh Captcha in CodeIgniter using Ajax | Part -2 de Duración hora minuto segunda en buena calidad , que subió el usuario Knowledge Thrusters 13 marzo 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,641 veces y le gustó 24 a los espectadores. Disfruta viendo!