PDA

View Full Version : I am not receiving any field info..help!!!



CDBASE7211
03-18-2006, 01:06 AM
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 (http://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 (http://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!

mazivo
04-10-2006, 10:04 AM
did you name your fields in Blue Voda.
You must add name to every field and then you will get data.
For example. double click on the name field in Blue Voda and tipe name .
for last name repeat that but write last name .

navaldesign
04-10-2006, 12:37 PM
CDbase had this problem quite a time ago. His form is running perfectly now.