Hello,
I have been following the tutorial www.kirupa.com/developer/actionscript/flash_php_email.htm
and I have created everything but I have a catch.
the way the tutorial explains it is to make all this in 1 movie clip and then drag it outo the main seen but, the way that I need to use it is to have the contact movie clip in another movie clip instance.I have everything completely set up and have the php file on my server but when I click the send button its calling to the script but nothing is happening. I cant really tell whether it is a problem with the movie clip settings or the php script that I wrote.
heres the specific code for the button Code:
[left] on (release) { // send variables in form movieclip (the textfields) // to email PHP page which will send the mail form.loadVariables(“email.php”, “POST”);}[/left]
also the other line of code is
Code:
[left] [font=Courier New][color=#003366]onClipEvent(data){ _root.nextFrame();}[/color][/font] [/left]
now here is the code that I put in the php file the is on my webserver now.
<?php
$sendTo = "zerosignal0@msn.com";
$subject = "customwheelsales.com customer question"; $headers = "From: " . $_POST["name"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"];
$message = $_POST["body"];mail($sendTo, $subject, $message, $headers);
?>
If it would help I can post my fla but its about 5 megs so I didnt want to post it unless it was necessary
if anyone can think of why this isnt working Im all ears… truthfully its the only thing holding me up from completing this website!
help please!
zer0