Jump to content

Recommended Posts

Hi folks, long time no post....

anyway I have an email form built in flash 2004 and using this action script, along with some PHP that i will paste in at the bottom, should send emails to me but it doesnt. Any ideas whats going wrong??

This is the actionscript from flash MX 2004::

on (release)

{

    if (name == "undefined" || message == "undefined" || email == "undefined")

    {

        gotoAndStop("error");

    }

    else

    {

        loadVariablesNum("emailform.php", 0, "POST");

        gotoAndStop("sending");

    } // end if

}

 

This is my PHP::

<?

 

//Get values from URL string

 

$name = $_POST['name'];

$message = $_POST['message'];

$email = $_POST['email'];

$subject = $_POST['subject'];

 

  $to = "phillip.shaw@mail.com";

  $msg = "$name\n\n";

  $msg .= "$message\n\n";

 

 

  mail($to, $subject, $msg, "From:website@innocence.co.uk\nReply-To: $email\n");

 

?>

 

From what I can gather it is correct. I have a demo online and I dont get the emails??

Thanks for helping.

Link to comment
https://forums.phpfreaks.com/topic/68829-php-and-flash-mail-form/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.