eric200678 Posted May 12, 2009 Report Share Posted May 12, 2009 hello i got a problem with my php linking with flash i belive its in php but not sure if my actionscript is messed so here is both: PHP: <? $ToEmail = "blank@unknown.com"; ##$ToName = "Unknown"; $ToSubject = "Unknown"; $EmailBody = "Sent By: $userName\nSenders Email: $userEmail\nSenders age: $ageGroup\n\nSenders OS: $OS.OSmac.\n"; $EmailFooter="\nThis message was sent by: $FirstName from $REMOTE_ADDR If you feel that you recieved this e-mail by accident please contact us at www.earcaddy.com"; $Message = $EmailBody.$EmailFooter; mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$userName." <".$Email.">"); Print "_root.Mail.EmailStatus=Complete - Your mail has been sent"; ?> my action script is on a button so here it is as well: on (release) { if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) { EmailStatus = "Please enter a valid E-mail address"; } else if (!Name.length) { EmailStatus = "Please Enter your name before Sending"; } else if (!ageGroup.length) { EmailStatus = "Please bite me"; } else if (!OS.OSmac.getValue().length) { EmailStatus = "Please bite me"; trace(sendVars.send("test.php", "POST")); } loadVariablesNum ("test.php", "0", "Post"); EmailStatus = "Message Sent Successfully! We will reply shortly."; } thanks for the help Quote Link to comment Share on other sites More sharing options...
jlhaslip Posted May 12, 2009 Report Share Posted May 12, 2009 Describe the problem you are having, please. Are there any Errors being reported? Is error reporting set on? Quote Link to comment Share on other sites More sharing options...
eric200678 Posted May 19, 2009 Author Report Share Posted May 19, 2009 the problem is that im trying to get php to see radio boxes that i made in flash. The only error is that i cant recive the email. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.