The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Silver's CAPTCHA Implementation - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Silver's CAPTCHA Implementation (/showthread.php?tid=653)



Silver's CAPTCHA Implementation - jkeisers - Apr 14th, 2010

Silver's CAPTCHA implementation for FT 1.x also works for FT 2.

Silver's tutorial can be found here:
http://ft1.formtools.org/forums/index.php/topic,752.0.html

I have approximately 125 forms on four different machines posting to FT 1.5.1, and I didn't want to modify every single form, so I tried if I could modify process.php. It seems to work fine. The letsgo() function is a little different:

Code:
function letsgo()
{
    if (empty($_POST)){
        $page_vars = array("message_type" => "error", "message" => $LANG["processing_no_post_vars"]);
        ft_display_page("../../global/smarty/messages.tpl", $page_vars);
        exit;
        }
    elseif (empty($_POST['form_tools_form_id'])){
        $page_vars = array("message_type" => "error", "message" => $LANG["processing_no_form_id"]);
        ft_display_page("../../global/smarty/messages.tpl", $page_vars);
        exit;
        }
    elseif (isset($_POST['form_tools_initialize_form'])){
        ft_initialize_form($_POST);
        }
    else{
        ft_process_form($_POST);
        }
}



RE: Silver's CAPTCHA Implementation - Ben - Apr 18th, 2010

Nice, thanks for posting this!

- Ben