Thread subject: PHP-Fusion :: Where is captcha code for comments?

Posted by slaughter on 12-11-2009 11:45
#4

Code
         } elseif ($settings['guestposts'] == "1") {
            $comment_name = trim(stripinput($_POST['comment_name']));
            $comment_name = preg_replace("(^[0-9]*)", "", $comment_name);
            if (isnum($comment_name)) { $comment_name = ""; }
            include_once INCLUDES."securimage/securimage.php";
            $securimage = new Securimage();
            if (!isset($_POST['com_captcha_code']) || $securimage->check($_POST['com_captcha_code']) == false) { redirect($link); }
         }



Line 41-48.