Contact Form, what am I doing wrong?

January 7th, 2009
  • Hi, I'm making a contact form on my site that I am building, I have never made a contact form before. So, I went around and looked at some tutorials, I have all the inputs text boxes; (name, subject, message, e-mail, etc.) and i have a send and clear buttons. On my send button i have,

    on (release) {
    if (name eq "" or subject eq "" or message eq "" or email eq "") {
    gotoAndPlay(3);
    } else {
    loadVariablesNum("form.php", 0, "POST");
    gotoAndStop (2);
    }
    }

    And the php file looks like this...


    $to = "cmferr2007@yahoo.com";
    $msg = "$namenn";
    $msg .= "$messagenn";

    mail($to, $subject, $msg, "From: My web sitenReply-To: $emailn");

    ?>

    Ok, so where I have my email in the php file, is that where it is suppose to go so that when someone contacts me the message goes to that email?


  • there kirupa` s flash php email (http://www.kirupa.com/developer/actionscript/flash_php_email.htm) you go.

    trey "search" more frequently

    there are aslo many posts regarding this.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Contact Form, what am I doing wrong? , Please add it free.