Originally posted by bivaswap
View Post
Captcha
Collapse
X
-
@ Gumslone
Sir, this code have no session control, it just a true false case.
Leave a comment:
-
Do you like one like this Wapmasterz.net ™ Find Scripts,Downloads,Free Stuff,Helpful forum!
Leave a comment:
-
Originally posted by jaidon20k View PostPlease i need very simple captcha with no image
it will look like dis . 8F5A5. thankssome_php_file.phpPHP Code:$code = strtoupper(substr(md5(time()),0,5));
echo '<div>'.$code.'</div>';
echo '<form method="post" action="some_php_file.php">
<div>
insert the security code from above <input type="text" name="captcha_code" value=""/><input type="hidden" name="captcha_code_check" value="'.$code.'"/>
</div>
</form>
';
but this type of captcha doesnt make any sense, because its very easy for bots to read the captcha text.PHP Code:if($_POST['captcha_code']!=$_POST['captcha_code_check']) $error = 'Wrong security code';
if(!empty($error)) echo $error;
Leave a comment:
Leave a comment: