Thread: Captcha Code
View Single Post
  #3  
Old 28th April 2011, 22:36
bolzen bolzen is offline
Member
 
Join Date: Mar 2011
P2P
Posts: 6
Default
in takesignup search for this

PHP Code:
if ($use_captcha && $users) {
    if (!
$_POST['imagestring'])
        
bark("Вы должны ввести код подтверждения.");
    
$b get_row_count("captcha""WHERE imagehash = ".sqlesc($_POST["imagehash"])." AND imagestring = ".sqlesc($_POST["imagestring"]));
    
sql_query("DELETE FROM captcha WHERE imagehash = ".sqlesc($_POST["imagehash"])) or die(mysql_error());
    if (
$b == 0)
        
bark("Вы ввели неправильный код подтверждения.");

or this

PHP Code:
if ($iv == "yes" && !check_captcha($_POST["imagehash"], $_POST["imagestring"]) && $users) {
    
newerr($tracker_lang["error"], "You have entered the wrong validation code.",true,true);

in takelogin search this

PHP Code:
if ($iv == "yes" && !check_captcha($_POST["imagehash"], $_POST["imagestring"])) {
    
newerr($tracker_lang["error"], $tklogin_lang['errorcaptcha'],true,true);

and remove this lines then it will not check the captcha code

Reply With Quote