我有一个简单的表格
<form id="myform" action="formprocess.php" method="POST">
username:<input type="text" name="username">
password:<input type="password" name="password">
<?php if($_COOKIE("login-attempt")>"4"){
require_once "recaptchalib.php";
echo recaptcha_get_html($publickey, $error);
}?>
<input type="submit" value="Sign in" id="signIn" name="signIn""/>
</form>
问题是验证码(recaptcha_response_field)也发布到formprocess.php页面,我希望这个验证码(recaptcha_response_field)值应该在这里检查是否正确,而不是用户名和密码的值应该提交给formprocess.php重新加载此页面并显示错误。我怎样才能做到这一点。?