PDA

View Full Version : Having problems with my contact form...



SageofSydney
05-24-2006, 02:15 PM
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

Sarah
05-24-2006, 03:01 PM
You need to click on your form in BlueVoda, and then delete text/plain from the encoding type, this field needs to be left blank. After you do this, save and republish the page, the form will work!

davidundalicia
05-24-2006, 03:16 PM
Visited and values input to test Form.................