0

How can i write captcha code in html

1st Feb 2017, 12:20 AM
Adeboye Adeniran
Adeboye Adeniran - avatar
3 Respostas
+ 4
you can use client side as well and you can delete the script just after the page has loaded using document.getElementById("captchascript").innerHTML=""; https://code.sololearn.com/WmfjpuieRQw1/?ref=app Hope this helps;
7th Oct 2017, 7:50 AM
Prajwal Pokharel
Prajwal Pokharel - avatar
0
Technically Prajwal is correct. However functions are still going to be in memory and if ever the developer tools are loaded while this page is opening, all the code will be available in the 'network' and 'source' tab. The point of the captcha is that the only machine that knows the true correct answer, should be the Web server which leaves server-side scripting as the only true to form option.
7th Oct 2017, 1:55 PM
Kevin Gilkey-Graham
Kevin Gilkey-Graham - avatar
- 2
You have to use some session variables and a server side scripting language to do a captcha style authentication.
1st Feb 2017, 2:48 AM
Kevin Gilkey-Graham
Kevin Gilkey-Graham - avatar