went here and used this tutorial:
http://www.kirupa.com/developer/actionscript/flash_php_email.htm
despite a few errors that i figured out along the way -
such as if senocular suggests naming the field variable as “body” - then one has to call it as $_POST[“body”] in the PHP script, and not “message” as he has suggested.
and the movie clip “FORM” action should be
onClipEvent (data) {
_parent.nextFrame();}
however - my version does not email me. the forms will fill out, once the user hits send - i get the thank you screen - but i never receive the email.
i have confirmed that my site host does support PHP.
this is my PHP script:
<?php
$sendTo = “lisajray@comcast.net”;
$subject = “email from PHP test #2”;
$headers = "From: " . $_POST[“name”];
$headers .= “<” . $_POST[“email”] . ">
";
$headers .= "Reply-To: " . $_POST[“email”]
;
$headers .= "Return-Path: " . $_POST[“email”];
$body = $_POST[“body”];
mail($sendTo, $subject, $body, $headers);
?>
and nothing happens.
any suggestions as to why this ‘acts’ like it is emailing me - but it is not ?
i have attached my FLA as well
ellare