ValidateCaptcha($_POST['scaptcha']))
{
echo "The code does not match. Please try again!";
}
else
{
echo "success";
}
}
else
{
$captcha = new FGCaptchaCreator('scaptcha');
header("pragma: no-cache");
header("cache-control: no-cache");
$captcha->DisplayCaptcha();
}
?>