Nieuw lid |
|
Hallo, kan er iemand zeggen wat er hier fout is?
<?
$contactfield1=$HTTP_GET_VARS["contactfield1"]
$contactfield2=$HTTP_GET_VARS["contactfield2"]
$contactfield3=$HTTP_GET_VARS["contactfield3"]
$contactfield4=$HTTP_GET_VARS["contactfield4"]
$email_from = "$contactfield2";
$email_subject = "Info via Website" ;
//$email_txt = "";
$email_to = "info@mijnsite.nl";
$email_message = "Naam: $contactfield1\n
E-mail :$contactfield2 \n
Telefoon :$contactfield3 \n
Bericht : $contactfield4 \n
";
mail($email_to, $email_subject, $email_message,$email_from);
?>
<? $contactfield1=$HTTP_GET_VARS["contactfield1"] $contactfield2=$HTTP_GET_VARS["contactfield2"] $contactfield3=$HTTP_GET_VARS["contactfield3"] $contactfield4=$HTTP_GET_VARS["contactfield4"] $email_from = "$contactfield2"; $email_subject = "Info via Website" ; //$email_txt = ""; $email_to = "info@mijnsite.nl"; $email_message = "Naam: $contactfield1\n E-mail :$contactfield2 \n Telefoon :$contactfield3 \n Bericht : $contactfield4 \n "; mail($email_to, $email_subject, $email_message,$email_from); ?>
|