Hi, Sara sent me here from a support ticket to post html. My form quit working so I had to set up my contact.htp different temporarily until i get the contact.php fixed. I set the contact.php up to look like the rest of my pages but it is not sending the info to my email upon submit. Can you check it and tell me where I went wrong?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>contact.php</title>
</head>
<body text="#ffffff" bgcolor="#000000" $email="$HTTP_POST_VARS[email];" $mailto="contact@caringlaser.com" $mailsubj="Information Request" $mailhead="From: $emailn" $val)="each" $mailbody="Values submitted from web site form:n" .="$key : $valn">>
<div style="left: 828px; position: absolute; top: 85px;">
<img height="865" alt="" src="handu_01_06.jpg" width="191" align="top" border="0"> </div>
<div style="z-index: 1; left: 526px; position: absolute; top: 105px;">
<img height="30" alt="" src="button_bg_01_06.gif" width="1" align="top" border="0"> </div>
<div style="z-index: 2; left: 313px; position: absolute; top: 181px;">
<img height="20" alt="" src="icon_kuula_01_06.gif" width="20" align="top" border="0"> </div>
<div style="z-index: 3; left: 413px; position: absolute; top: 184px;">
<img height="14" alt="" src="rating0_01_06.gif" width="64" align="top" border="0"> </div>
<div style="z-index: 4; left: 1px; position: absolute; top: 0px;">
<img height="226" alt="" src="sitelogob1_01_06.jpg" width="576" align="top" border="0"> </div>
<div style="z-index: 5; left: 135px; width: 829px; position: absolute; top: 177px; height: 27px;">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" align="left" width="134" height="22"><a href="/index.html">
<img height="22" alt="http://www.caringlaser.com/index.html" src="bv01003.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/Coppermine/index.php">
<img height="22" alt="http://www.caringlaser.com/Coppermine/index.php" src="bv01004.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/products.html">
<img height="22" alt="http://www.caringlaser.com/products.html" src="bv01005.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/services.html">
<img height="22" alt="http://www.caringlaser.com/services.html" src="bv01006.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/events.html">
<img height="22" alt="http://www.caringlaser.com/events.html" src="bv01007.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/contact.html">
<img height="22" alt="http://www.caringlaser.com/contact.html" src="bv01008.gif" width="134" align="top" border="border=0"></a></td></tr></tbody></table></div>
<div style="z-index: 6; left: 289px; width: 400px; position: absolute; top: 286px; height: 61px;">
<p align="center"><font style="font-size: 18pt;" face="Arial" color="#e6e6fa">Thank you!
<br>We will contact you shortly!</font> </p></div><!--P
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "info@caringlaser.com.com";
$mailsubj = "Information Request";
$mailhead = "From: $emailn";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $valn";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
-->
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>contact.php</title>
</head>
<body text="#ffffff" bgcolor="#000000" $email="$HTTP_POST_VARS[email];" $mailto="contact@caringlaser.com" $mailsubj="Information Request" $mailhead="From: $emailn" $val)="each" $mailbody="Values submitted from web site form:n" .="$key : $valn">>
<div style="left: 828px; position: absolute; top: 85px;">
<img height="865" alt="" src="handu_01_06.jpg" width="191" align="top" border="0"> </div>
<div style="z-index: 1; left: 526px; position: absolute; top: 105px;">
<img height="30" alt="" src="button_bg_01_06.gif" width="1" align="top" border="0"> </div>
<div style="z-index: 2; left: 313px; position: absolute; top: 181px;">
<img height="20" alt="" src="icon_kuula_01_06.gif" width="20" align="top" border="0"> </div>
<div style="z-index: 3; left: 413px; position: absolute; top: 184px;">
<img height="14" alt="" src="rating0_01_06.gif" width="64" align="top" border="0"> </div>
<div style="z-index: 4; left: 1px; position: absolute; top: 0px;">
<img height="226" alt="" src="sitelogob1_01_06.jpg" width="576" align="top" border="0"> </div>
<div style="z-index: 5; left: 135px; width: 829px; position: absolute; top: 177px; height: 27px;">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top" align="left" width="134" height="22"><a href="/index.html">
<img height="22" alt="http://www.caringlaser.com/index.html" src="bv01003.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/Coppermine/index.php">
<img height="22" alt="http://www.caringlaser.com/Coppermine/index.php" src="bv01004.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/products.html">
<img height="22" alt="http://www.caringlaser.com/products.html" src="bv01005.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/services.html">
<img height="22" alt="http://www.caringlaser.com/services.html" src="bv01006.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/events.html">
<img height="22" alt="http://www.caringlaser.com/events.html" src="bv01007.gif" width="134" align="top" border="border=0"></a></td>
<td width="4"> </td>
<td valign="top" align="left" width="134" height="22"><a href="/contact.html">
<img height="22" alt="http://www.caringlaser.com/contact.html" src="bv01008.gif" width="134" align="top" border="border=0"></a></td></tr></tbody></table></div>
<div style="z-index: 6; left: 289px; width: 400px; position: absolute; top: 286px; height: 61px;">
<p align="center"><font style="font-size: 18pt;" face="Arial" color="#e6e6fa">Thank you!
<br>We will contact you shortly!</font> </p></div><!--P
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "info@caringlaser.com.com";
$mailsubj = "Information Request";
$mailhead = "From: $emailn";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $valn";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
-->
</body>
</html>
Comment