
Originally Posted by
navaldesign However, as it set up, after submission it will do nothing, and you will stay with a blank screen. Create at least a thankyou page (in BV, and publish it) and redirect the visitor there, by modifying the script as follows:
<?PHP $email = $HTTP_POST_VARS[email];
$mailto = "mailinglist@tdisdiseasia.com";
$mailsubj = "Mailing List";
$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);
header("Location: thankyou_page.html");
?>
In the "thankyou_page" you can add your menubar, so the visitor can still navigate your site