Flash + PHP wollen keine Emails versenden

lebaron

Grünschnabel
Hallo Ihr Lieben,

heute ist Tag drei meiner Kontaktformualr-Odysee und ich finde den Fehler nicht. Ich habe schon zig Tutorials (u.a.: http://www.tutorials.de/forum/flash...mular-mit-flash-und-php-anfaenger-mx2004.html)
Aber wie es auch abwandle und anpasse es passiert nichts.
Nun habe ich nochmal versucht das alles mit einer ganz simplen loadVariables_Anweisung zum laufen zu bringen, aber es geht nichts.

Mir fehlt leider auch das detaillierte Wissen zu Action-Script, da ich mich erst seit kurzem mit Flash beschäftige.

Hier einmal das Script aus meiner Hauptzeitleiste:

Code:
_root._absender="Vorname Nachname";

_root._email_absender.onSetFocus = function(){
_root._absender="";
}

_root._email_absender.onSetFocus = function(){
    if(_root._absender == "Vorname Nachname"){
        _root._absender="";
    }
} 

_root._firma = "Firma";
_root._email_firma.onSetFocus = function() {
    _root._firma = "";
};

_root._email_firma.onSetFocus = function(){
    if(_root._firma == "Firma"){
        _root._firma="";
    }
}

_root._telefon = "Telefonnummer";
_root._email_telefon.onSetFocus = function() {
    _root._telefon = "";
};

_root._email_telefon.onSetFocus = function(){
    if(_root._telefon == "Telefonnummer"){
        _root._telefon="";
    }
}

_root._adresse = "Email-Adresse";
_root._email_adresse.onSetFocus = function() {
    _root._adresse = "";
};

_root._email_adresse.onSetFocus = function(){
    if(_root._adresse == "Email-Adresse"){
        _root._adresse="";
    }
}

_root._nachricht = "Ihre Nachricht";
_root._email_nachricht.onSetFocus = function() {
    _root._nachricht = "";
};

_root._email_nachricht.onSetFocus = function(){
    if(_root._nachricht == "Ihre Nachricht"){
        _root._nachricht="";
    }
}

_senden.onPress = function() {
loadVariables("email_script1.php", "", "post" );
gotoAndStop(2);
}

Hier noch mein PHP Script:

Code:
<?php

    $msg  = "Nachricht von: ".urldecode($_POST["_absender"])."\n";
    $msg  = "Firma:            ".urldecode($_POST["_firma"])."\n";
    $msg .= "Email:         ".urldecode($_POST["_adresse"])."\n";
    $msg .= "Telefon:       ".urldecode($_POST["_telefon"])."\n\n";
    $msg .= urldecode($_POST["_nachricht"]);
    
    mail("office@meinedomain.de", "Anfrage aus Kontaktformular", $msg;

?>

Ich habe auch die FLA mal angefügt.

Wäre toll wenn da mal jemand wissendes drüber schauen kann.

Danke Euch!
http://www.tutorials.de/forum/flash...mular-mit-flash-und-php-anfaenger-mx2004.html
 

Anhänge

Zurück