Hi! I just published my website, tried the forms...the "thank you page" comes up fine, but I never received the test email I sent. I've re-watched the tutorials, but can't figure out what I've done wrong. Thanks for any help!!
Jodie
The webpage is: www.honeoyenursery.com/parenthelpers.html
(Yes, I know the text downloads don't work either, I'm working on it!)
Here's my html from the "thank you page": <?PHP
$mailto = "honeoyenursery********.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Schedule Request";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
Jodie
The webpage is: www.honeoyenursery.com/parenthelpers.html
(Yes, I know the text downloads don't work either, I'm working on it!)
Here's my html from the "thank you page": <?PHP
$mailto = "honeoyenursery********.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Schedule Request";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
Comment