Poi aggiungo il codice della pagina SEND_INFO.php

Fate conto che ho modificato i miei dati sensibili, ovvero la mia email e il nome del sito, che ancora non è online.

Grazie per chi mi potrà aiutare a far funzionare questo modulo. <?php
if(isset($_POST['email'])) {

// EDIT THE 2 LINES BELOW AS REQUIRED
$email_to = "info@miodominio.com"; $email_subject = "Info - INFO ";
function died($error) {
// your error code can go here
echo "We are very sorry, but there were error(s) found with the form you submitted. ";
echo "These errors appear below.

"; echo $error."

";
echo "Please go back and fix these errors.

";
die(); }


// validation expected data exists

if(!isset($_POST['first']) ||
!isset($_POST['last']) ||
!isset($_POST['address']) ||
!isset($_POST['number']) ||
!isset($_POST['city']) ||
!isset($_POST['state']) ||
!isset($_POST['email']) ||
!isset($_POST['website']) ||
!isset($_POST['request'])) { died('We are sorry, but there appears to be a problem with the form you submitted.'); }

$first = $_POST['first']; // required
$last = $_POST['last']; // required
$address = $_POST['address']; // not required
$number = $_POST['number']; // not required
$city = $_POST['city']; // not required
$state = $_POST['state']; // not required
$email = $_POST['email']; // required
$website = $_POST['website']; // required
$request = $_POST['request']; // required

$error_message = ""; $email_exp = "^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$"; if(!eregi($email_exp,$email_from)) {
$error_message .= 'The Email Address you entered does not appear to be valid.
'; }
$string_exp = "^[a-z .'-]+$"; if(!eregi($string_exp,$first_name)) {
$error_message .= 'The First Name you entered does not appear to be valid.
'; } if(!eregi($string_exp,$last_name)) {
$error_message .= 'The Last Name you entered does not appear to be valid.
'; } if(strlen($comments) < 2) {
$error_message .= 'The Comments you entered do not appear to be valid.
'; } if(strlen($error_message) > 0) { died($error_message); }





$email_message .= "first: ".clean_string($first)."\n";
$email_message .= "last : ".clean_string($last)."\n";
$email_message .= "address: ".clean_string($address)."\n";
$email_message .= "number: ".clean_string($number)."\n";
$email_message .= "city: ".clean_string($city)."\n";
$email_message .= "state: ".clean_string($state)."\n";
$email_message .= "email: ".clean_string($email)."\n";
$email_message .= "request: ".clean_string($request)."\n";


// create email headers

$headers = 'From: '.$email_from."\r\n". 'Reply-To: '.$email_from."\r\n" . 'X-Mailer: PHP/' . phpversion(); @mail($email_to, $email_subject, $email_message, $headers); ?>



<body background="images/collection_images/sfondo_orange_1000_20_jpg.jpg">
<div align="center"><font color="#FFFFFF"><font color="#000000" size="6">Thank
you for contacting us. We will be in touch with you very soon</font>
</font><font color="#000000" size="6">.</font>
<?php } ?>
</div>
</html>