$name = htmlspecialchars($_POST['name']); $email = $_POST['email']; $message = htmlspecialchars($_POST['message']); $captcha = $_POST['g-recaptcha-response']; $secredkey = ""; if(!recaptcha($secredkey, $captcha)){ header("location:form.php?error=captcha");