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.ph...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:
Silver's tutorial can be found here:
http://ft1.formtools.org/forums/index.ph...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);
}
}