is_valid) { echo "You got it!"; } else { # set the error code so that we can display it $error = $resp->error; } } echo recaptcha_get_html($publickey, $error); ?>

test ets ets e

 

//require_once('../snowbrasil/recaptchalib.php');
$privatekey = "6LfWjwUAAAAAAPXqoTnP_MnzsEQrBjm88fr0khOY";
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);

if (!$resp->is_valid) {
die ("<body background='http://www.snowbrasil.com.br/snowbrasil/back.jpg'><br><br><br><br><table width='500' bgcolor='#FFFFFF' align='center' border='1' bordercolor='#FFFFFF'>
<tr>
<td height='80' bgcolor='#000066' bordercolor='#000066'><div align='center'>
<p><font color='#B3ECFD' size='4' face='Verdana, Arial, Helvetica, sans-serif'><strong>A palavra de segurança não estava correta.<br>Use o link abaixo para voltar e tentar de novo.</strong></font></p>
</div></td>
</tr>
<tr>
<td height='49' bgcolor='#CCCCCC' bordercolor='#CCCCCC'><div align='center'><font face='Verdana, Arial, Helvetica, sans-serif' size='3' color='#000066'><strong><A HREF='javascript:javascript:history.go(-1)'>Voltar para a página anterior</A></strong></font></div></td>
</tr>
</table>");
}