J
J
Guest
here it is
<?
/* Subject and Email Variables */
$emailSubject = 'Five Alarm Inc. Website Quote';
$webMaster = '[email protected]';
/* Gathering Data Variables */
$emailField = $_Post['email'];
$nameField = $_Post['name'];
$web1Field = $_Post['web1'];
$web2Field = $_Post['web2'];
$budgetField = $_Post['budget'];
$pagesField = $_Post['pages'];
$flashField = $_Post['flash'];
$ecommerceField = $_Post['ecommerce'];
$siteField = $_Post['site'];
$descriptionField = $_Post['description'];
$body = <<<EOD
<br><hr><br>
Email: $email <br>
Company Name: $name <br>
Example Site One:$web1 <br>
Example Site Two:$web2 <br>
Budget:$budget <br>
Number of Pages:$pages <br>
Flash inclusion:$flash <br>
E-commerce inclusion:$ecommerce <br>
Time frame:$site <br>
Their description:$description <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */
$theResults = <<<EOD
<html>
<head>
<title>Five Alarm Interactive- Scorching the Compition</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: normal;
color: #666666;
text-decoration: none;
}
-->
</style>
</head>
<div>
<div align="center">
<p></p>
<p></p>
<p></p>
<p>Thank you! Your quote will be produced very soon!</p>
</div>
</div>
</body>
</html>
EOD;
echo "$theResults";
?>
<?
/* Subject and Email Variables */
$emailSubject = 'Five Alarm Inc. Website Quote';
$webMaster = '[email protected]';
/* Gathering Data Variables */
$emailField = $_Post['email'];
$nameField = $_Post['name'];
$web1Field = $_Post['web1'];
$web2Field = $_Post['web2'];
$budgetField = $_Post['budget'];
$pagesField = $_Post['pages'];
$flashField = $_Post['flash'];
$ecommerceField = $_Post['ecommerce'];
$siteField = $_Post['site'];
$descriptionField = $_Post['description'];
$body = <<<EOD
<br><hr><br>
Email: $email <br>
Company Name: $name <br>
Example Site One:$web1 <br>
Example Site Two:$web2 <br>
Budget:$budget <br>
Number of Pages:$pages <br>
Flash inclusion:$flash <br>
E-commerce inclusion:$ecommerce <br>
Time frame:$site <br>
Their description:$description <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */
$theResults = <<<EOD
<html>
<head>
<title>Five Alarm Interactive- Scorching the Compition</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: normal;
color: #666666;
text-decoration: none;
}
-->
</style>
</head>
<div>
<div align="center">
<p></p>
<p></p>
<p></p>
<p>Thank you! Your quote will be produced very soon!</p>
</div>
</div>
</body>
</html>
EOD;
echo "$theResults";
?>