I'm having problems with my contact.html page...
I've followed the script from the tutorils but I still seems to get nothing but a blank email...
Can anyone offer suggestions?
<HTML>
<HEAD>
<TITLE>Thank you for your enquiry</TITLE>
</HEAD>
<BODY>
<H2>Thank you for your enquiry!</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "mail@actualiseconsulting.com.au";
$mailsubj = "Enquiry from Contact page";
$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>
The site is http://www.actualiseconsulting.com.au/contact.html
Any help would be muchly appreciated.
Warm Regards,
Sage
I've followed the script from the tutorils but I still seems to get nothing but a blank email...
Can anyone offer suggestions?
<HTML>
<HEAD>
<TITLE>Thank you for your enquiry</TITLE>
</HEAD>
<BODY>
<H2>Thank you for your enquiry!</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "mail@actualiseconsulting.com.au";
$mailsubj = "Enquiry from Contact page";
$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>
The site is http://www.actualiseconsulting.com.au/contact.html
Any help would be muchly appreciated.
Warm Regards,
Sage
Comment