A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Please edit my script

Threaded View

  1. #1
    Learn more, know less.
    Join Date
    Jul 2004
    Posts
    169

    Please edit my script

    I am trying to do what seems like a simple email from flash using PHP. I have a bunch of text fields, the send button checks to see if everything has been filled out and then goes to a PHP script to actually send the email.

    Everything works until I hit "send" and then it just seems not to communicate with the script. The email status doesn't change and no email is sent.This is the code I have right now:
    Code:
    <&quest;
    
    $ToEmail = "[email protected]";
    
    $ToName = "Creative Director, Joel Marsh";
    
    $ToSubject = "Website Inquiry";
    
    $EmailBody = "Sent By: $FormName\nSenders Email: $FormEmail\nSenders FormSite: $Company\n\n Message Sent:\n$FormComments\n\n";
    
    $EmailFooter="\nThis message was sent by: $FormName .\n If you feel that you recieved this e-mail by accident please contact us at www.TheHipperElement.com";
    
    $Message = $EmailBody.$EmailFooter;
    
    mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FirstName." <".$Email.">");
    
    Print "_level0.EmailStatus='Thank You.'";
    
    &quest;>
    What do you think? It's in the same directory as the swf running the code.

    Thanks.
    Last edited by JoelTHE; 10-12-2005 at 08:39 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center