// Enter your email address here
$adminaddress = "info@brancaccioforniture.it";
// Enter the address of your website here MUST include http://www.
$siteaddress ="http://www.brancaccioforniture.it";
// Unless you know better I advise that you don't touch anything below here!
// Don't touch this it grabs the date and time from your server
$date = date("m/d/Y H:i:s");
if ($REMOTE_ADDR == "") $ip = " no ip ";
else $ip = getHostByAddr($REMOTE_ADDR);
IF ($action==""):
?>
//This grabs the form data and formats it and sends it in an email to you
exit;
ELSEIF ($action="Send"):
mail("$adminaddress","Form sito internet", " \n
Nome: $nome
Azienda: $societa
Indirizzo: $indirizzo
Cittą: $citta
CAP: $cap
Telefono: $telefono
Fax: $fax
E-mail: $email
Interessato a: $settore
Commenti: $commenti
Date/Time: $date","FROM:$adminaddress");
//This grabs the form data and sends a confirmation to your visitor
header("Location: http://www.brancaccioforniture.it");
ENDIF;
?>