10 ms·
They do generate it using js and Math.random :) <body onload="DrawCaptcha();"> ...... <script type="text/javascript"> //Generates the captcha functi
by codegeek 13y ago
They do generate it using js and Math.random :)
<body onload="DrawCaptcha();">
......
<script type="text/javascript">
//Generates the captcha function
function DrawCaptcha()
{
var a = Math.ceil(Math.random() * 9)+ '';
var b = Math.ceil(Math.random() * 9)+ '';
var c = Math.ceil(Math.random() * 9)+ '';
var d = Math.ceil(Math.random() * 9)+ '';
var e = Math.ceil(Math.random() * 9)+ '';
var code = a + b + c + d + e;
document.getElementById("txtCaptcha").value = code;
document.getElementById("txtCaptchaDiv").innerHTML = code;
}
</script>