infernoapbts
Programmer
I am trying to send mail from myflash form to php mail. this is the code on the submit button
on (release) {
if (realname = "" {
gotoAndStop(40);
} else if (email = "" {
gotoAndStop(40);
} else if (comments = "" {
gotoAndStop(40);
} else {
getURL(" "", "POST"
gotoAndStop(39);
}
}
& this is the script on the php page:
<?php
$recipient = "designersedge@infernoapbts.com";
$subject = " Mail From designers edge";
$mailheaders = "From: <$email> \n";
$mailheaders .= "Reply-To: <$email>\n\n";
$msg = "Sender's Name: $realname\n";
$msg .= "Sender's E-Mail: $email\n";
$msg .= "Sender's phone #: $phone\n";
$msg .= "Sender's address 1: $address_line1\n";
$msg .= "Sender's address 2: $address_line2\n";
$msg .= "Message: $comments\n\n";
mail($recipient, $subject, $msg, $mailheaders) or die ("Couldn't send mail!"
?>
all i am receiving is the headers ie: sender's name: ,ect...
but not the typed info ie: sender's name: jon doe
any help would be appreciated.
thanks
infernoapbts
on (release) {
if (realname = "" {
gotoAndStop(40);
} else if (email = "" {
gotoAndStop(40);
} else if (comments = "" {
gotoAndStop(40);
} else {
getURL(" "", "POST"
gotoAndStop(39);
}
}
& this is the script on the php page:
<?php
$recipient = "designersedge@infernoapbts.com";
$subject = " Mail From designers edge";
$mailheaders = "From: <$email> \n";
$mailheaders .= "Reply-To: <$email>\n\n";
$msg = "Sender's Name: $realname\n";
$msg .= "Sender's E-Mail: $email\n";
$msg .= "Sender's phone #: $phone\n";
$msg .= "Sender's address 1: $address_line1\n";
$msg .= "Sender's address 2: $address_line2\n";
$msg .= "Message: $comments\n\n";
mail($recipient, $subject, $msg, $mailheaders) or die ("Couldn't send mail!"
?>
all i am receiving is the headers ie: sender's name: ,ect...
but not the typed info ie: sender's name: jon doe
any help would be appreciated.
thanks
infernoapbts