<?
// - First, we need to set few Variables to handle all the dirty work!
$SiteName = "www.mdstudioweb.com";
$SiteEmail = "[email protected]";
$ThankYouMessage = "Grazie da mdstudioweb.com";
$SiteUserName = "Marco";
// - That's it! That's All You Need To Do!!
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> <?php echo $SiteName?> - Contact Us! </TITLE>
<META NAME="Generator" CONTENT="www.4cm.com">
<META NAME="Author" CONTENT="John B. Abela">
<META NAME="Keywords" CONTENT="Contact Form!">
<META NAME="Description" CONTENT="Just a simple Contact Form writen in PHP!">
</HEAD>
<BODY BGCOLOR="#FFFFFF" text="#000000">
<center>
<table width="100%" bgcolor="black" cellspacing=0 cellpadding=0 valign=center border=0><tr><td><center><font face="Verdana" size="2" color="white"><B>Contact Us!</B></font></td></tr></table>
<CENTER>
Ciao, <?php echo $UserName?>. <BR><BR>
Grazie per il vostro interesse nel nostro sito!<BR><BR>
Il suo materiale è stato inviato a: <?php echo $email?> con una email di conferma.
</CENTER>
<?
$UserMessage = "$UserName, Thank you for submiting your comment, or question, about $SiteName.\n";
$UserMessage .= "If needed, we will respond back with 48 hours.\n";
$UserMessage .= "If you do not recieve a reply within 48 hours\n";
$UserMessage .= "please email us at: $SiteEmail\n\n";
$UserMessage .= "$SiteUserName\n $SiteName Administration \n $SiteEmail";
mail("$UserEmail", "$ThankYouMessage", $UserMessage, "From: $SiteEmail");
$AdminMessage = "$UserName, Submitted the following Information:\n";
$AdminMessage .= "Email: $UserEmail\n";
$AdminMessage .= "URL: $UserURL\n";
$AdminMessage .= "Business: $UserBusinessName\n";
$AdminMessage .= "Location: $UserBusinessLocation\n";
$AdminMessage .= "Comments:\n";
$AdminMessage .= "$UserComments\n";
$AdminMessage .= "$HTTP_USER_AGENT\n";
mail("$SiteEmail", "$SiteName - Contact Submission", $AdminMessage, "From: $UserEmail");
?>
<p><br>