Advertisement
MrFastDie

Untitled

Jan 16th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. $name = htmlspecialchars($_POST['name']);
  2.         $email = $_POST['email'];
  3.         $message = htmlspecialchars($_POST['message']);
  4.         $captcha = $_POST['g-recaptcha-response'];
  5.  
  6.         $secredkey = "";
  7.  
  8.         if(!recaptcha($secredkey, $captcha)){
  9.             header("location:form.php?error=captcha");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement