YourWBB


yourWBB » yourWBB Misc * » Das Proggen » HTML, XHTML, JavaScript & CSS » Kontakt Formular Problem » Hallo Gast [Anmelden|Registrieren]
Letzter Beitrag | Erster ungelesener Beitrag 4.039 Views | | Thema zu Favoriten hinzufügen

Neues Thema erstellen Antwort erstellen

Zum Ende der Seite springen Kontakt Formular Problem
Autor
Beitrag « Vorheriges Thema | Nächstes Thema »
mikail mikail ist männlich
Mitglied


Dabei seit: 21.04.07
Beiträge: 181
Forenversion: 2.3

 Kontakt Formular Problem Antworten Zitieren Editieren Melden       UP

Hey leute also..
habe unten einen code..undzwar kontakt formular..was muss ich machen
das die anmeldung an meine email adresse kommt?

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
<meta http-equiv="Content-Language" content="de" /> 
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> 
<form action="--WEBBOT-SELF--" method="post" name="[object]"> 
    <!--webbot bot="SaveResults" u-file="C:\deinPfad\private\form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" --> 
    <p>&nbsp;</p> 
    <p>&nbsp;</p> 
    <p>&nbsp;</p> 
    <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" bordercolor="#111111" height="105" cellspacing="0" cellpadding="0" width="100%" border="0"> 
        <tbody> 
            <tr> 
                <td width="1%" height="22">Name:</td> 
                <td width="14%" height="22"><input name="name" type="text" /></td> 
                <td width="34%" colspan="2" height="22">&nbsp;</td> 
                <td width="61%" colspan="2" height="22">&nbsp;</td> 
            </tr> 
            <tr> 
                <td width="1%" height="22">Telefon:</td> 
                <td width="14%" height="22"><input name="telefon" type="text" /></td> 
                <td width="34%" colspan="2" height="22">&nbsp;</td> 
                <td width="61%" colspan="2" height="22">&nbsp;</td> 
            </tr> 
            <tr> 
                <td width="1%" height="22">E-Mail</td> 
                <td width="14%" height="22"><input name="email" type="text" /></td> 
                <td width="34%" colspan="2" height="22">&nbsp;</td> 
                <td width="61%" colspan="2" height="22">&nbsp;</td> 
            </tr> 
            <tr> 
                <td width="1%" height="19">&nbsp;</td> 
                <td width="14%" height="19">&nbsp;</td> 
                <td width="34%" colspan="2" height="19">&nbsp;</td> 
                <td width="61%" colspan="2" height="19">&nbsp;</td> 
            </tr> 
            <tr> 
                <td width="6%" height="20">Tag:</td> 
                <td width="14%" height="20"><select size="1" name="D1"> 
                <option value="1" selected="selected">1</option> 
                <option value="2">2</option> 
                <option value="3">3</option> 
                <option value="4">4</option> 
                <option value="5">5</option> 
                <option value="6">6</option> 
                <option value="7">7</option> 
                <option value="8">8</option> 
                <option value="9">9</option> 
                <option value="10">10</option> 
                <option value="11">11</option> 
                <option value="12">12</option> 
                <option value="13">13</option> 
                <option value="14">14</option> 
                <option value="15">15</option> 
                <option value="16">16</option> 
                <option value="17">17</option> 
                <option value="18">18</option> 
                <option value="19">19</option> 
                <option value="20">20</option> 
                <option value="21">21</option> 
                <option value="22">22</option> 
                <option value="23">23</option> 
                <option value="24">24</option> 
                <option value="25">25</option> 
                <option value="26">26</option> 
                <option value="27">27</option> 
                <option value="28">28</option> 
                <option value="29">29</option> 
                <option value="30">30</option> 
                <option value="31">31</option> 
                </select></td> 
                <td width="6%" height="20">Monat:</td> 
                <td width="6%" height="20"><select size="1" name="D2"> 
                <option value="1" selected="selected">1</option> 
                <option value="2">2</option> 
                <option value="3">3</option> 
                <option value="4">4</option> 
                <option value="5">5</option> 
                <option value="6">6</option> 
                <option value="7">7</option> 
                <option value="8">8</option> 
                <option value="9">9</option> 
                <option value="10">10</option> 
                <option value="11">11</option> 
                <option value="12">12</option> 
                </select></td> 
                <td width="3%" height="20">Jahr:</td> 
                <td width="65%" height="20"><input name="jahr" type="text" /></td> 
            </tr> 
        </tbody> 
    </table> 
    <p><input type="submit" name="B1" value="Abschicken" /><input type="reset" name="B2" value="Zurücksetzen" /></p> 
</form> 


dankeeeeeeeeee
13.07.07 22:17 mikail ist offline E-Mail Finden Als Freund hinzufügen
Marius2005 Marius2005 ist männlich
Mitglied


Dabei seit: 24.12.05
Beiträge: 26
Herkunft: Werne, NRW (Nähe Dortmund)
Forenversion: Burningboard Lite

Antworten Zitieren Editieren Melden       UP

Am besten gehts natürlich mit PHP. Der Code dafür ist Folgendes:

php:
1:
2:
3:
<?php
mail('$empfaenger''$betreff'$nachricht); 
?>


Du könntest also in deinem Falle folgendes machen:

php:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
<?php
$name $_POST['name'];
$telefon $_POST['telefon'];
$email $_POST['email']; 
$tag $_POST['name'];
$monat $_POST['name'];
$jahr $_POST['name'];

$nachricht "Name: ".$name."<br />Telefon: ".$telefon."<br />E-Mail: ".$email."<br />Datum: ".$tag.".".$monat.".".$jahr;

mail('$email''Anmeldung'$nachricht); 
?>


Ich hoffe ich konnte helfen :-)
13.07.07 22:30 Marius2005 ist offline E-Mail WWW Finden Als Freund hinzufügen Füge Marius2005 in deine Kontaktliste ein
Schweinebacke Schweinebacke ist männlich
Mitglied


images/avatars/avatar-5303.jpg

Dabei seit: 06.01.06
Beiträge: 826
Herkunft: Baden Württemberg

Antworten Zitieren Editieren Melden       UP

Im form-Tag bei action= deine E-Mailadresse mit mailto:eintragen.

Dabei muss die method="post" gewählt werden. (was ja schon so ist) Und ein weiteres Attribut enctype="text/plain" gesetzt werden.

code:
1:
<form action="mailto:ich@zuhause.de" method="post" enctype="text/plain" name="[object]">
13.07.07 22:38 Schweinebacke ist offline E-Mail Finden Als Freund hinzufügen
Baumstruktur | Brettstruktur
Gehe zu:

Neues Thema erstellen Antwort erstellen

yourWBB » yourWBB Misc * » Das Proggen » HTML, XHTML, JavaScript & CSS » Kontakt Formular Problem