Contact Form

heylo

ok well have a look at the site 1st. http://www.apdz.com/liquid/main.html
it doesnt work in opera though… I didn’t design it. It’s not finished
either. If you have a look at the contact page you can see that the
contact form sends even if all the fields aint filled in which is bad
since we could get a lot of spam… so is there a way of making it so that
all the fields have to be filled before the form can be sent? Heres the
php involved -

<?

$to = "force@apdz.com";
$msg = "$name

";
$msg .= "$message

";

mail($to, $subject, $msg, "From: My web site
Reply-To: $email
");

?>

Heres the actionscipt that is involved… it might help… don’t know

on (release) {
if (name eq “” or subject eq “” or message eq “” or email eq “”) {
stop();
} else {
loadVariablesNum(“form.php”, 0, “POST”);
gotoAndStop(2);
}
}

^^ that stuff is whats assigned to the send button. So any ideas? Or do you have a better idea?