Hi there
I was bizzy making a mail form for my site so ppl could send me some comment but i can't seem to get it right so maybe someone of u could help me this is the way my from in flash i build i have 4 input feelds with var Name's like:
Naam
Onderwerp
Bericht
Email
They are all on root then i have a Button send with this option actionscripts:
on (release) {
if (_root.Naam eq "" or _root.Onderwerp eq "" or _root.Bericht eq "" or _root.Email eq "") {
stop();
} else {
loadVariablesNum("send.php", 0, "POST");
_root.gotoAndStop(2);
}
}
Then i have this PHP code in my send.php:
<?
$to = "<<-My E-mail->>";
$msg = "$Naam\n\n";
$msg .= "$Bericht\n\n";
$subject = "$Onderwerp";
mail($to, $subject, $msg, "From: Site 3\nReply-To: $Email\n");
?>
Can someone please tell me what i am doing wrong (my host provides the mail function).
Thanks very mutch allready
Warnar