Tutorial says to change the “values submitted from the web site form” But what to enter – trouble shooting text below video tutorial (http://www.vodahost.com/vodatalk/for...-part-1-a.html) has this area in blue – meaning to cut, paste and ENTER NEW DATA specific to one’s site text – but no instruction in where to find this value. Please advise.
Php code from tutorial – note bolded area my Q refers to
<?PHP
$mailto = "briand@bikempowered.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "BIKEmpowered emails";
$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);
?>
Php code from tutorial – note bolded area my Q refers to
<?PHP
$mailto = "briand@bikempowered.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "BIKEmpowered emails";
$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