hi guys i try to make a form
used this as on a button to load the php
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
}
else if (!FirstName.length) {
EmailStatus = "Please Enter your name before Sending";
}
else if (!ToComments.length) {
EmailStatus = "Please enter some text in you message";
}
else {
loadVariablesNum ("snowMailPHP.php", "0", "Post");
EmailStatus = "Sending wait please";
}
}
tell now every thing is fine here is the php code
<?
$ToEmail = "[email protected]";
##$ToName = "sameh";
$ToSubject = "test form";
$EmailBody = "Sent By: $FirstName
Senders Email: $Email
Senders Company: $Company
Message Sent:
$ToComments
Sender Heard About Site From: $HearAbout
";
$EmailFooter="
This message was sent by: $FirstName from $REMOTE_ADDR If you feel that you recieved this e-mail by accident please contact us at www.somesite.com";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FirstName." <".$Email.">");
Print "_root.Mail.EmailStatus=Complete - Your mail has been sent";
?>
put the email did not send here is a link for the form and my server support php3 and 4
http://voodo.t35.com/myform.htm
what is wrong the form texts submit button all is inside a movie clip with instance name of mail