Hallo Leute, ich habe mich gerade Registriert und bin noch totaler Anfänger in sachen HTML und PHP.
Ich habe eine Homepage geschaffen mit Phase 5 und hänge nun beim Kontaktformular fest.
Wie bringe ich es fertig dass die Daten auch abgeschickt werden und ich dann auch eine email davon bekomme?
Hier der html code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Kontaktformular</title>
<meta name="author" content="Administrator">
<meta name="editor" content="html-editor phase 5">
</head>
<body text="#000000" bgcolor="#000000" link="#FF0000" alink="#FF0000" vlink="#FF0000">
</body>
</html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Kontaktformular</title>
<!-- Inhalt kommt aus der Kundeneingabe -->
<style type="text/css">
body { margin-left:15px; margin-right:0px; margin-top:15px; margin-bottom:15px;
scrollbar-base-color: #ffffff;
scrollbar-track-color: #ffffff;
scrollbar-face-color: #09730c;
scrollbar-highlight-color: #F5E081;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-arrow-color: #ffffff;
font-family: verdana; color: #ffffff; }
td { font-size: 10pt; }
input, textarea, select, option { font-size:12px; font-family:Verdana; }
.button { background-color:#09730c; font-weight:bold; color:#ffffff; width:150px; }
</style>
</head>
<body bgcolor="#09730c">
<form action="/cgi-bin/send_form_mail.php.cgi" method="post">
<input type="hidden" name="required[Ihr Name:]" value="Name" >
<input type="hidden" name="required[Ihre Anfrage oder Bestellung:]" value="Nachricht" >
<table width="340" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="80">Ihr Name:*</td>
<td width="260"><input type="text" name="Name" size="30"></td>
</tr>
<tr>
<td>Straße:</td>
<td><input type="text" name="Strasse" size="30"></td>
</tr>
<tr>
<td>PLZ / Ort:</td>
<td><input type="text" name="PLZ" size="6" maxlength="5"> <input type="text" name="Ort" size="27"></td>
</tr>
<tr>
<td>Telefon:</td>
<td><input type="text" name="Telefon" size="30"></td>
</tr>
<tr>
<td>E-Mail:</td>
<td><input type="text" name="Email" size="30"></td>
</tr>
</table>
<br>
<table width="340" border="0" cellspacing="2" cellpadding="2">
<tr>
<td>Ihre Anfrage oder Bestellung:*</td>
</tr>
<tr>
<td><textarea name="Nachricht" rows="15" cols="50"></textarea></td>
</tr>
</table>
<table width="340" border="0" cellspacing="2" cellpadding="2">
<tr>
<td>
<input type="hidden" name="r_email" value="meine eMailadresse.de">
<input type="hidden" name="form_type" value="own_form" >
<input type="hidden" name="redirect" value="http://www.meine Seite.de/bestaetigung.html">
<input class="button" type="submit" value="Abschicken">
<img src="../img/leer.gif" width="12" height="1" alt="" border="0">
<input class="button" type="reset" value="Löschen">
</td>
</tr>
</table>
</form>
</body>
</html>
Ich würde mich freuen wenn ihr mir helfen könntet...!!
Gruß von Stefan
Ich habe eine Homepage geschaffen mit Phase 5 und hänge nun beim Kontaktformular fest.
Wie bringe ich es fertig dass die Daten auch abgeschickt werden und ich dann auch eine email davon bekomme?
Hier der html code :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Kontaktformular</title>
<meta name="author" content="Administrator">
<meta name="editor" content="html-editor phase 5">
</head>
<body text="#000000" bgcolor="#000000" link="#FF0000" alink="#FF0000" vlink="#FF0000">
</body>
</html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Kontaktformular</title>
<!-- Inhalt kommt aus der Kundeneingabe -->
<style type="text/css">
body { margin-left:15px; margin-right:0px; margin-top:15px; margin-bottom:15px;
scrollbar-base-color: #ffffff;
scrollbar-track-color: #ffffff;
scrollbar-face-color: #09730c;
scrollbar-highlight-color: #F5E081;
scrollbar-3dlight-color: #000000;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-arrow-color: #ffffff;
font-family: verdana; color: #ffffff; }
td { font-size: 10pt; }
input, textarea, select, option { font-size:12px; font-family:Verdana; }
.button { background-color:#09730c; font-weight:bold; color:#ffffff; width:150px; }
</style>
</head>
<body bgcolor="#09730c">
<form action="/cgi-bin/send_form_mail.php.cgi" method="post">
<input type="hidden" name="required[Ihr Name:]" value="Name" >
<input type="hidden" name="required[Ihre Anfrage oder Bestellung:]" value="Nachricht" >
<table width="340" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="80">Ihr Name:*</td>
<td width="260"><input type="text" name="Name" size="30"></td>
</tr>
<tr>
<td>Straße:</td>
<td><input type="text" name="Strasse" size="30"></td>
</tr>
<tr>
<td>PLZ / Ort:</td>
<td><input type="text" name="PLZ" size="6" maxlength="5"> <input type="text" name="Ort" size="27"></td>
</tr>
<tr>
<td>Telefon:</td>
<td><input type="text" name="Telefon" size="30"></td>
</tr>
<tr>
<td>E-Mail:</td>
<td><input type="text" name="Email" size="30"></td>
</tr>
</table>
<br>
<table width="340" border="0" cellspacing="2" cellpadding="2">
<tr>
<td>Ihre Anfrage oder Bestellung:*</td>
</tr>
<tr>
<td><textarea name="Nachricht" rows="15" cols="50"></textarea></td>
</tr>
</table>
<table width="340" border="0" cellspacing="2" cellpadding="2">
<tr>
<td>
<input type="hidden" name="r_email" value="meine eMailadresse.de">
<input type="hidden" name="form_type" value="own_form" >
<input type="hidden" name="redirect" value="http://www.meine Seite.de/bestaetigung.html">
<input class="button" type="submit" value="Abschicken">
<img src="../img/leer.gif" width="12" height="1" alt="" border="0">
<input class="button" type="reset" value="Löschen">
</td>
</tr>
</table>
</form>
</body>
</html>
Ich würde mich freuen wenn ihr mir helfen könntet...!!
Gruß von Stefan