I'm having the same problem and I don't quite understand the solution...
My php script is sending, but my form doesn't seem to be sending any variables to the script.
My send button is in the same movieclip as the input text fields and they all have original vars.
my button script is as follows:
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 (!Address.length) {
EmailStatus = "Please enter your Address";
}
else if (!City.length) {
EmailStatus = "Please Enter your City before Sending";
}
else if (!State.length) {
EmailStatus = "Please Enter your State before Sending";
}
else if (!Zip.length) {
EmailStatus = "Please Enter your Zip Code before Sending";
}
else if (!Phone.length) {
EmailStatus = "Please Enter your Phone Number before Sending";
}
else if (!Home.length) {
EmailStatus = "What is the value of your home?";
}
else {
loadVariablesNum ("email.php", "0", "Post");
EmailStatus = "Sending... one Moment .. or two.. sometimes it's faster then other times";
}
}
my php script is:
<?php
$Email = $HTTP_POST_VARS["Email"];
$Name = $HTTP_POST_VARS["Name"];
$Address = $HTTP_POST_VARS["Address"];
$City = $HTTP_POST_VARS["City"];
$State = $HTTP_POST_VARS["State"];
$Zip = $HTTP_POST_VARS["Zip"];
$Phone = $HTTP_POST_VARS["Phone"];
$Home = $HTTP_POST_VARS["Home"];
$Date = $HTTP_POST_VARS["Date"];
$ToEmail = "
jwoodley@sbbco.net";
$ToName = "James";
$ToSubject = "Seller Registration Test ";
$EmailBody = "Sent By: $Name\nSenders Email: $Email\n\n Please send me my free sellers kit. My information is as follows:\n\n$Address\n$City\n$State\n$Zip\nMy phone number is: $Phone\nThe approximate value of my home is $Home\n The date I placed my property on the market is $Date\nMy EMM Rep is James Woodley. ID#41607\n";
$EmailFooter="\nThis message was sent using James Woodley's automated registration system.";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$Name." <".$Email.">");Print "&_root.Mail.EmailStatus=Complete - Your mail has been sent&";
?>
What could I be doing wrong?
btw.. I love the site, I've learned so much!