Thema: php script
Einzelnen Beitrag anzeigen
Alt 02-09-2010, 16:06   #11 (permalink)
danielpele
Neuer User
 
Registriert seit: Sep 2009
Beiträge: 40
ich hab mal eben mit dem support telefoniert wo die website gespeichert ist.die haben sich die php auch angeschaut und haben festgestellt der php script ist korrekt.die haben aber festgestellt das wenn ich eine mail von der website schicken will wird die php garnicht angesprochen.hier mal der as:
Code:
function clearField2()
{
    txtField4.text = label1;
    if (_currTextField == String(txtField4))
    {
        txtField4.text = "";
    } // end if
} // End of the function
function clearField()
{
    txtField1.text = "";
    txtField2.text = "";
    txtField3.text = "";
} // End of the function
label1 = "Message:";
var _currTextField = "";
txtField1.tabIndex = 0;
txtField2.tabIndex = 1;
txtField3.tabIndex = 2;
txtField4.tabIndex = 3;
txtField4.onSetFocus = function ()
{
    _currTextField = String(txtField4);
    if (this.text == label1)
    {
        this.text = "";
    } // end if
};
txtField4.onKillFocus = function ()
{
    if (this.text == "")
    {
        this.text = label1;
    } // end if
    _currTextField = "";
};
clearField();
clearField2();
btnClear.onRollOver = function ()
{
    this.gotoAndPlay("over");
};
btnClear.onRollOut = btnClear.onReleaseOutside = function ()
{
    this.gotoAndPlay("out");
};
btnClear.onRelease = function ()
{
    clearField();
    clearField2();
};
btnSubmit.onRollOver = function ()
{
    this.gotoAndPlay("over");
};
btnSubmit.onRollOut = btnSubmit.onReleaseOutside = function ()
{
    this.gotoAndPlay("out");
};
btnSubmit.onRelease = function ()
{
    if (_parent.contactform.txtField1.text == "" || _parent.contactform.txtField2.text == "" || _parent.contactform.txtField3.text == "" || _parent.contactform.txtField4.text == label1)
    {
        gotoAndStop(3);
    }
    else
    {
        _parent.contactform.loadVariables("email.php", "POST");
        gotoAndStop(2);
    } // end else if
};
stop ();
danielpele ist offline   Mit Zitat antworten