Hi guys,
I realize this has been discussed many times before, but it still doesnt work after all the searching and suggestions i learned.
Heres my question:
I have a movieclip called Inquire.fla.
In this movieclip i have a form and a button.
The form is made up of 4 text fields… name, email, phone, and message. Each has been given variable names. I converted the 4 text fields to a movieclip, and gave it the instance name “form”.
I back out to the main scene, click on the form movie clip and give it the actionscript:
onClipEvent(data){
_root.nextFrame();
}
I also have a button that is on the main scene. It has been given the actionscript:
on(release) {
form.loadVariables(“email.php”, “POST”);
}
I then created email.php using dreamweaver with the following code:
<?php
$sendTo = “adamjcormier@hotmail.com”;
$subject = “My Flash site reply”;
$headers = "From: " . $_POST[“name”];
$headers .= “<” . $_POST[“email”] . ">
";
$headers .= "Reply-To: " . $_POST[“email”] . "
";
$headers .= "Return-Path: " . $_POST[“email”];
$headers .= “Phone:” . $_POST[“phone”];
$message = $_POST[“message”];
mail($sendTo, $subject, $message, $headers);
?>
The movie Inquire.swf is an external movieclip that is loaded into my main Index.swf. I upload the Inquire.swf, Inquire.html and email.php onto the 1and1.com server. When i view my webpage and fill it out… absolutely nothing happens.
Could someone PLEASE help me??
Thank you SOOOO much!