Archivlink: javarea.de Forum > (X)HTML & CSS (allgemein) > Wie funktioniert das mit einem Kontaktformular ?
Vollständigen Link anzeigen: javarea.de Forum > (X)HTML & CSS (allgemein) > Wie funktioniert das mit einem Kontaktformular ?

Pages: [1]

geschrieben von donrosso am 30.05.2003 - 18:12
Hallo

ich möchte ein Kontaktformular auf meine Webseite bauen, wie genau funktioniert das ?

geschrieben von Jan am 30.05.2003 - 18:33
Hallo!

Hat dein Server PHP-Unterstützung? Oder nur HTML?

Einfach ein Formular erstellen. Mit den gewünschten Feldern.
Das ganze, kann am besten mit einem PHP-Script versendet werden.

Man kann aber auch auf kostenlose Anbieter zurückgreifen.

Hier wäre z.B. ein in PHP geschrieben:

http://www.planetc.de/download/plan....tmail.html

Dieses kann im empfehlen. Funktioniert einwandfrei.

Gruß
Jan

geschrieben von donrosso am 30.05.2003 - 19:33
Hmm ich komm damit nicht ganz klar, kannst Du mir vielleicht anhand meines Quellcodes erklären, was ich machen muss, damit mien Kontaktformular funzt ?

<html>

<head>
<meta http-equiv="Content-Language" content="de">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>PeCoRS</title>
</head>

<body bgcolor="#000080" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">

<div align="center">
<center>
<table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#FFFFFF" width="80%" id="AutoNumber1">
<tr>
<td width="100%" bgcolor="#666699" style="border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-style: solid; border-top-width: 1">
<table border="0" cellpadding="10" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3">
<tr>
<td width="100%">
</td>
</tr>
</table>
<p align="center">
<font color="#FFFFFF" face="Verdana" size="2">
<br>
<b>Emailformular</b></font></p>
<hr color="#000080" width="90%" size="0"></td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#FFFFFF" width="80%" id="AutoNumber2" height="285">
<tr>
<td width="20%" height="30" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium">
<u><b><font face="Verdana" size="2" color="#FFFFFF">Ihre Daten</font></b></u></td>
<td width="60%" height="30" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
&nbsp;</td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font face="Verdana" size="2" color="#FFFFFF">Anrede</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>
<!--webbot bot="SaveResults" u-file="C:\Dokumente und Einstellungen\Vorstand\Desktop\_private\form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --><p>
<input type="text" name="T1" size="25"></p>
</form>
</td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font face="Verdana" size="2" color="#FFFFFF">Titel</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<input type="text" name="T1" size="25"></td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Name</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<input type="text" name="T1" size="25"></td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Vorname</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>
<!--webbot bot="SaveResults" u-file="C:\Dokumente und Einstellungen\Vorstand\Desktop\_private\form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="1"><!--webbot bot="SaveResults" endspan i-checksum="43406" --><p>
<input type="text" name="T1" size="25"></p>
</form>
</td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Firma</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="T1" size="50"></font></td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font face="Verdana" size="2" color="#FFFFFF">Firmengrösse</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="T1" size="50"></font></td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font face="Verdana" size="2" color="#FFFFFF">Branche</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>
<!--webbot bot="SaveResults" u-file="C:\Dokumente und Einstellungen\Vorstand\Desktop\_private\form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="2"><!--webbot bot="SaveResults" endspan i-checksum="43438" --><p>
<input type="text" name="T1" size="50"></p>
</form>
</td>
</tr>
<tr>
<td width="20%" height="19" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Strasse</font></td>
<td width="60%" height="19" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="T1" size="35"></font></td>
</tr>
<tr>
<td width="20%" height="19" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Hausnummer</font></td>
<td width="60%" height="19" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="Hausnummer" size="10"></font></td>
</tr>
<tr>
<td width="20%" height="18" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Postleitzahl</font></td>
<td width="60%" height="18" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="Postleitzahl" size="10"></font></td>
</tr>
<tr>
<td width="20%" height="19" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Ort</font></td>
<td width="60%" height="19" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="T1" size="35"></font></td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">emailadresse</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="T1" size="50"></font></td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font face="Verdana" size="2" color="#FFFFFF">Telefonnummer</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="T1" size="50"></font></td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font face="Verdana" size="2" color="#FFFFFF">Ansprechpartner</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<font face="Verdana" size="1">
<input type="text" name="T1" size="50"></font></td>
</tr>
<tr>
<td width="20%" height="22" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Thema</font></td>
<td width="60%" height="22" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>
<!--webbot bot="SaveResults" u-file="C:\Dokumente und Einstellungen\Vorstand\Desktop\_private\form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="3"><!--webbot bot="SaveResults" endspan i-checksum="43470" --><p>
<font face="Verdana" size="1">
<input type="text" name="T1" size="50"></font></p>
</form>
</td>
</tr>
<tr>
<td width="20%" height="32" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium" valign="top">
<font color="#FFFFFF" face="Verdana" size="2">Ihr Anfrage/Anregung</font></td>
<td width="60%" height="32" bgcolor="#3366CC" colspan="2" style="border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1">
<form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>
<!--webbot bot="SaveResults" u-file="C:\Dokumente und Einstellungen\Vorstand\Desktop\_private\form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="4"><!--webbot bot="SaveResults" endspan i-checksum="43502" --><p>
<font face="Verdana" size="1">
<textarea rows="5" name="S1" cols="50"></textarea></font></p>
</form>
</td>
</tr>
<tr>
<td width="20%" height="19" bgcolor="#3366CC" align="center" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-bottom-style: solid; border-bottom-width: 1">
<font color="#FFFFFF" face="Verdana" size="1">&nbsp;</font></td>
<td width="24%" height="19" bgcolor="#3366CC" style="border-left-style: none; border-left-width: medium; border-bottom-style: solid; border-bottom-width: 1">
<form method="POST" action="--WEBBOT-SELF--" onSubmit="location.href='../_derived/nortbots.htm';return false;" webbot-onSubmit>
<!--webbot bot="SaveResults" u-file="C:\Dokumente und Einstellungen\Vorstand\Desktop\_private\form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="5"><!--webbot bot="SaveResults" endspan i-checksum="43534" --><p align="left">
<font size="1" face="Verdana">
<input type="submit" value="Abschicken" name="B1"><input type="reset" value="Zurücksetzen" name="B2"></font></p>
</form>
</td>
<td width="36%" height="19" bgcolor="#3366CC" style="border-right-style: solid; border-right-width: 1; border-bottom-style: solid; border-bottom-width: 1">
<p align="center"><font color="#FFFFFF">
<a style="text-decoration: none" href="Index.htm">
<font face="Times New Roman" size="1">&#9658;&#9658;</font><font face="Verdana" size="1"><b>zurück zu
Webseite</b></font></a></font></td>
</tr>
</table>
</center>
</div>

</body>

</html>

geschrieben von Jan am 31.05.2003 - 10:48
Hallo!

Wie das aussieht hast du Frontpage zum erstellen benutzt.
Um diese dynamischen-Frontpageseiten nutzen zu können, muss
der Server diese "Frontpagemodule" unterstützen.

Du kannst den Webserver vom Microsoft auch lokal installieren.
Der unterstützt Frontpage. Dann sollte alles funktionieren.
Oder hast du schon einen Webserver installiert?

Ich würde das ganze über eine
Serversprache laufen lassen, falls verfügbar. z.B. PHP oder CGI.

Gruß
Jan

geschrieben von Gast am 31.05.2003 - 11:13
Hi,

PHP kann als Modul oder als CGI installiert sein. CGI ist eine Schnittstelle.

Armin

geschrieben von Jan am 31.05.2003 - 20:03
Hallo!

Oh wusste ich noch nicht. Habe mal wieder meinen Horozont erweitert.
Man lernt halt nie aus!

Gruß
Jan


Powered by: JBB v.2.0.4 Copyright ©2000-2006, www.javarea.de.