hi there,
i have created a flash-based email form which i followed very closely according to the site tutorial. however, when i input every text field then click on the send button nothing happens. it seems my send button does not work.
can anyone tell me what i should check into? is it possible my iis server is too old to handle the script?
[COLOR=blue]my os: windows nt[/COLOR]
[COLOR=blue]iis version: 4[/COLOR]
[COLOR=blue]php version: 5.021[/COLOR]
this is my php script.
<?php
$sendTo = “someone@somewhere.com”;
$subject = “Feedback Form Results”;
$headers = "From: " . $_POST[“name”];
$headers .= “<” . $_POST[“email”] . ">
";
$headers .= "Reply-To: " . $_POST[“email”] . "
";
$headers .= "Return-Path: " . $_POST[“email”];
$message = $_POST[“message”];
mail($sendTo, $subject, $message, $headers);
?>
this is my send button script.
on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables(“email.php”, “POST”);
}
this is my form script.
onClipEvent(data){
// show welcome screen
_root.nextFrame();
}
thanks!