I have been through the tutorials many times and have constructed a form located at
I am using the following contact.php
<HTML>
<HEAD>
<TITLE>We are currently processing your form</TITLE>
</HEAD>
<BODY>
<H2>Thanks for your request</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "tiaki@charter.net";
$mailsubj = "contact";
$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);
?>
</BODY>
</HTML>
I am really confused. I just don't understand why it won't send the information.
Thanks in Advance
I am using the following contact.php
<HTML>
<HEAD>
<TITLE>We are currently processing your form</TITLE>
</HEAD>
<BODY>
<H2>Thanks for your request</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "tiaki@charter.net";
$mailsubj = "contact";
$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);
?>
</BODY>
</HTML>
I am really confused. I just don't understand why it won't send the information.
Thanks in Advance
Comment