Reputation Activity
-
gurutechnolab got a reaction from Demonolith in PHP contact form sends without user contentif($_SERVER['REQUEST_METHOD']=="POST") {
$name = $_POST['Name'] ;
$email = $_POST['Email'] ;
$telephone = $_POST['Telephone'] ;
$comments = $_POST['Comments'] ;
$captcha = $_POST['g-recaptcha-response'];
$response=file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=-----&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']);
}
print name in $ value and check if it's print then a code is right...