| |||||||
Du magst keine Werbung? Wir auch nicht!
Einfach registrieren und die Werbung ist weg. Diese Nachricht sehen nur nicht registrierte Nutzer.
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| Neuer User Registriert seit: Sep 2009
Beiträge: 40
| php script
hallo liebe gemeinde hab folgendes problem.hab eine website mit kontaktformular,welches nicht so funzt wie ich mir das gedacht habe.hier hab ich mal den script für die mail.php.kann mir jemand sagen was ich da noch verändern muß? PHP-Code: |
| | |
| | #2 (permalink) |
| experience++; Registriert seit: Jul 2002 Ort: Düsseldorf
Beiträge: 11.304
|
hi, hab deinen beitrag mal entsprechend verschoben. cheers, sal
__________________
Chuck Norris hat den Flash Player für alle mobilen Betriebssysteme! |
| | |
| | #3 (permalink) |
| exestiert hier nicht Registriert seit: Jun 2002 Ort: Osnabrück
Beiträge: 1.728
|
Was funktioniert den nicht: - kommt gar nichts an ? - gefällt dir das aussehen nicht ? - wie sollte es richtig funktionieren ?
__________________ <? if(!$success){ $try++; } ?> ~Es ist so grausam, dass der Intelligenz Grenzen gesetzt sind und der Dummheit keine.~ Werbung: - Ajax File Manager ( KFM - Kae's File Manager ) |
| | |
| | #6 (permalink) |
| Neuer User Registriert seit: Sep 2009
Beiträge: 40
|
sorry.ich blick grad nicht durch. if( $contact_name == true ) { steht ja schon drin.wo kommt denn das andere hin? ich muß noch dazu sagen das die website ein fertiges template war und die mail.php mit dazu gehört.ich hatte gedacht das ich da einfach nur die mail-adresse austauschen muß. |
| | |
| | #10 (permalink) |
| Neuer User Registriert seit: Sep 2009
Beiträge: 40
|
ich hab mal die datei mit angehängt.welche ausgabe?in flash?da steht nichts.im dreamweaver kann ich nichts erkennen in sachen ausgabe.mit dreamweaver hab ich nicht viel am hut.außer wenn es sich um html oder xml dreht.ich hab nochmal die anderen php.file von flashmint angeschaut.die sind alle identisch.
|
| | |
| | #11 (permalink) |
| 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 (); |
| | |
| | #12 (permalink) |
| Neuer User Registriert seit: Sep 2010
Beiträge: 2
|
Anscheinend haben wir das selbe Problem - hast du vielleicht schon eine Lösung? Oder kann mir hier vielleicht jemand weiterhelfen? Meine sieht so ähnlich aus - das Problem ist eben das keine Daten übergeben werden und somit keine Mail abgeschickt wird: Code: function clearField()
{
txtField1.text = label1;
txtField2.text = label2;
txtField3.text = label3;
txtField4.text = label4;
txtField5.text = label5;
Selection.setFocus("_focus");
} // End of the function
label1 = "";
label2 = "";
label3 = "";
label4 = "";
label5 = "Message:";
countField = 5;
clearField();
var arrayLabel = new Array();
for (i = 1; i < countField + 1; i++)
{
txtField = this["txtField" + i];
txtField.index = i;
arrayLabel[i] = this["label" + i];
txtField.tabIndex = i;
txtField.onSetFocus = function ()
{
if (this.text == arrayLabel[this.index])
{
this.text = "";
} // end if
};
txtField.onKillFocus = function ()
{
if (this.text == "")
{
this.text = arrayLabel[this.index];
} // end if
};
} // end of for
btnClear.onRollOver = function ()
{
this.gotoAndPlay("over");
};
btnClear.onRollOut = btnClear.onReleaseOutside = function ()
{
this.gotoAndPlay("out");
};
btnClear.onRelease = function ()
{
clearField();
};
btnSubmit.onRollOver = function ()
{
this.gotoAndPlay("over");
};
btnSubmit.onRollOut = btnSubmit.onReleaseOutside = function ()
{
this.gotoAndPlay("out");
};
btnSubmit.onRelease = function ()
{
if (_parent.contactform.txtField1.text == label1 || _parent.contactform.txtField2.text == label2 || _parent.contactform.txtField3.text == label3 || _parent.contactform.txtField4.text == label4 || _parent.contactform.txtField5.text == label5)
{
gotoAndStop(3);
}
else
{
_parent.contactform.loadVariables("email.php", "POST");
gotoAndStop(2);
} // end else if
};
stop (); Tom Geändert von ttom67 (27-09-2010 um 13:28 Uhr) |
| | |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| rollover script hebt leider press script auf! | flashko | Flash Einsteiger | 3 | 18-07-2007 14:32 |
| Wie mach ich aus Flash5-Script Flash6-Script ?? | ghazii | ActionScript 1 | 4 | 01-04-2007 18:15 |
| id filter von <script src='a_script.php?id=1&pixel=480' ></script> | glitzer | PHP und MySQL | 6 | 21-07-2004 18:11 |
| Game-Script mit danten bank an bindung?? (klamm-script) | PowerCheat | PHP und MySQL | 0 | 29-12-2003 15:07 |
| Probleme mit einem Script (oder überhaupt mal ein Script) | FunZer | ActionScript 1 | 6 | 12-06-2002 14:31 |