Hi
Ok figured out hte redirect...
I also receive the email after you hit the submit button...
BUT
the email is blank..I'm not sure how to grab the fields...
Any suggestions??
Here is the script for 1 form at www.nationwidemovingpros.com/order.html
<HTML>
<HEAD>
<TITLE>There is one more step until we process your order</TITLE>
</HEAD>
<BODY>
<H2>You are now being redirected to payment processing!</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "order@nationwidemovingpros.com";
$mailsubj = "From the OrderForm";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
</SCRIPT>
<META HTTP-EQUIV="Refresh" Content="0; URL=thank_you.html">
?>
</BODY>
</HTML>
and for the 2nd form at www.nationwidemovingpros.com/contact.html
<HTML>
<HEAD>
<TITLE>CONTACT CONFIRMED</TITLE>
</HEAD>
<BODY>
<H2>ONE MOMENT PLEASE</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "info@nationwidemovingpros.com";
$mailsubj = "From the contactForm";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
</SCRIPT>
<META HTTP-EQUIV="Refresh" Content="0; URL=contact_confirm.html">
?>
</BODY>
</HTML>
Any help would be great!
Ok figured out hte redirect...
I also receive the email after you hit the submit button...
BUT
the email is blank..I'm not sure how to grab the fields...
Any suggestions??
Here is the script for 1 form at www.nationwidemovingpros.com/order.html
<HTML>
<HEAD>
<TITLE>There is one more step until we process your order</TITLE>
</HEAD>
<BODY>
<H2>You are now being redirected to payment processing!</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "order@nationwidemovingpros.com";
$mailsubj = "From the OrderForm";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
</SCRIPT>
<META HTTP-EQUIV="Refresh" Content="0; URL=thank_you.html">
?>
</BODY>
</HTML>
and for the 2nd form at www.nationwidemovingpros.com/contact.html
<HTML>
<HEAD>
<TITLE>CONTACT CONFIRMED</TITLE>
</HEAD>
<BODY>
<H2>ONE MOMENT PLEASE</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "info@nationwidemovingpros.com";
$mailsubj = "From the contactForm";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
</SCRIPT>
<META HTTP-EQUIV="Refresh" Content="0; URL=contact_confirm.html">
?>
</BODY>
</HTML>
Any help would be great!
Comment