Hi guys,
I am having a problem with this php script:
<?
$to = "myemail@domain.com";
$msg = "Name:" . $name
;
$msg .= "Subject:" . $subj
;
$msg .= "GSM:" . $gsm
;
mail($to, $subj, $msg, "From:" . $email
Reply-To: $email
");
?>
**Here in the top PHP script its appearing as only nn by actually its
.**
Actually i want when the person sends me mail using flash it should join with this php script. I have already done that I have added this to my flash button:
on(release) {
if (name == undefined || gsm == undefined || email == undefined || subj == undefined) {
gotoAndStop("error");
}
else {
loadVariablesNum("form.php",0,"POST");
gotoAndStop("sent");
}
}
It works and tells me sent by going to the frame etc …etc. But when it mails me i want it to specify which is the Name, GSM in the body. The email should come in the From: and the Subject in the Subject.
Like:
Name: whatever
GSM: 99999999
I hope you guys are getting me.
Thanks in advance,
Regards.