use go daddy as my server. i have a economy plan and windows as the server.
my last attempt was the trail php and when I loaded the url it says message not sent.
in flash when i try the original code it takes me to message sent successfull. but I dont get any emails.
Code:<?php
$to = "dave@scotlandorbust.com";
$subject = "Flash Contact Form Submission";
$message = "Name: " . $_POST['theName'];
$message .= "
Email: " . $_POST['theEmail'];
$message .= "
Message: " . $_POST['theMessage'];
$headers = "From: " . $_POST['theEmail'];
$headers .= "
Reply-To: " . $_POST['theEmail'];
$sentOk = mail($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>
Code:
stop();
var receiveLoad:LoadVars = new LoadVars();
receiveLoad.onLoad = function(success) {
if(success) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
sender.onRelease = function() {
receiveLoad.theName = theName.text;
receiveLoad.theEmail = theEmail.text;
receiveLoad.theMessage = theMessage.text;
receiveLoad.sendAndLoad("http://scotlandorbust.com/send.php",receiveLoad, "POST");
}
here is my fla as well
[COLOR=#072978]http://www.scotlandorbust.com/fla.htm[/COLOR]
i am so new to this but want to learn. PLEASE HELP. this site has been awesome with my questions. check out my site. tons of help from you guys. thanks a bunch
if i need to go to another smtp i will
my biggest thing is that i just want people to click send and walk away from their cpu.
[COLOR=#072978]www.scotlandorbust.com[/COLOR]
missionaries rock