jimbo10
07-19-2004, 02:22 AM
i am using flash mx 04, and php 4.1.2
i used the tutorial to setup a php form but for some reason cant cant get the information from my form sent to my email address. when i press the submit button i recieve the email, but only get a blank email. it seems the php is working fine, but i cant receive any information passed from the flash form.
my php script:
<?php
mail("james@skiracer.info", $_GET["subject"], $_GET["message"], "From: PHPMailer\nReply-To: $_GET["from"]\nX-Mailer: PHP/" . phpversion());
?>
and flash script
subject = "NZUWG";
message = firstname.text + "\n" + lastname.text + "\n" + unicombobox.selectedItem.label + "\n" + dis.selectedData + "\n" + id.text;
from = email.text;
loadVariablesNum("mail.php4", 0, "POST");
gotoAndPlay(30);
i have all the text fields as named above, and have tried putting variable names in text fields to see if they will be passed without luck. i dont know why the text fields wont be passed to the php email???
any help plz???
i used the tutorial to setup a php form but for some reason cant cant get the information from my form sent to my email address. when i press the submit button i recieve the email, but only get a blank email. it seems the php is working fine, but i cant receive any information passed from the flash form.
my php script:
<?php
mail("james@skiracer.info", $_GET["subject"], $_GET["message"], "From: PHPMailer\nReply-To: $_GET["from"]\nX-Mailer: PHP/" . phpversion());
?>
and flash script
subject = "NZUWG";
message = firstname.text + "\n" + lastname.text + "\n" + unicombobox.selectedItem.label + "\n" + dis.selectedData + "\n" + id.text;
from = email.text;
loadVariablesNum("mail.php4", 0, "POST");
gotoAndPlay(30);
i have all the text fields as named above, and have tried putting variable names in text fields to see if they will be passed without luck. i dont know why the text fields wont be passed to the php email???
any help plz???