Quote
Wanabo wrote:
Thanks, but the captcha is not working.
Please take a look at the code at 8.php-fusion site. See link in post 3.
Here is the Code which you may include in your Mod. I wish that this will be helpful to you...
Implementing Captchas manually:When Displaying Captcha for Validation :[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]$_CAPTCHA_HIDE_INPUT = false;
ob_start();
include INCLUDES."captchas/".$settings['captcha']."/captcha_display.php";
$captcha_output = ob_get_contents();
ob_end_clean();
if (!$_CAPTCHA_HIDE_INPUT) {
echo $captcha_output; // Captcha Image
echo "<input type='text' id='captcha_code' name='captcha_code' class='textbox' autocomplete='off' style='width:100px' />"; // Captcha Form
}[/syntaxhighlighter]
When validating Captcha :[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]$_CAPTCHA_IS_VALID = false;
include INCLUDES."captchas/".$settings['captcha']."/captcha_check.php";
if ($_CAPTCHA_IS_VALID == true) {
// Show the Form to the User
}[/syntaxhighlighter]