Please wait for 5 minutes before retry!"); } else // else cookie has expired { // This part is for anti-bot check *** require_once('recaptchalib.php'); $privatekey = "6Leni8ISAAAAAPeAR4Md17Q37jslsVZhPogrPxL4"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if (!$resp->is_valid) { // What happens when the CAPTCHA was entered incorrectly die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." ); } else { // You may add code here to handle a successful verification ; } // end of reCAPTCHA *** extract( $_POST ); setcookie( "webSurvey", $userName, time() + 60 * 5); setcookie("time", time(), time() + 60 * 5); } ?> Web Survey PHP File Survey results: $line

"); ?>