//require_once("/home/users/alberto/www/italiamultimedia/htdocs/get_post.php");?>
Fondazione Centro nazionale di prevenzione e difesa sociale - ETS
Via Palestro 12, 20121 Milano
Tel. 0039/02 8646 0714
E-mail: cnpds.ispac@cnpds.it
if ($_SERVER[REQUEST_METHOD]=="POST"):
/*
if (strtoupper($_POST['code']) != $_SESSION['code']):
echo"
Security Code is not correctly completed.
Return back";
else:
*/
// RECAPTCHA
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid):
echo"
Security Code is not correctly completed.
Return back";
//die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." ."(reCAPTCHA said: " . $resp->error . ")");
else:
if (($_REQUEST[email]!='') and ($_REQUEST[testo]!='')and(eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+([a-z]+$)", $_REQUEST[email], $verify))):
$h = "From: {$_REQUEST['nome']} {$_REQUEST['cognome']}