Hallo liebe Forum-Mitglieder.
Es ist mir ein wenig peinlich, da es ja schon viele Threads über Kontaktformulare gibt und auch Tutorials, aber da ich weder eine Ahnung von PHP noch von CGI habe bekomme ich es irgendwie einfach nicht hin... :(
Wenn mir jemand helfen würde, wär ich dankbar.
Ich hab ein einfaches HTML Formular gebastelt und frage mich nun, soll ich es mit PHP oder CGI verlinken. Und wie genau stelle ich das an?
Hier ist mein HTML Code:
<html><head>
<meta http-equiv="Content-Language" content="de">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="generator" content="ekiwi-phpFormmaker">
<script language="JavaScript" type="text/javascript">
function eKiwi_Form_Check(phpform)
{
return (true);
}
</script>
<title>Kontakt</title>
<style type="text/css">
<!--
body { background-color:#C0C0C0;background-image:url(); }
h1.my { color:#000000; font-family:Verdana; font-size:18pt; }
p,li { color:#000000; font-family:Verdana; font-size:11pt; }
TD { color:#000000; font-family:Verdana; font-size:11pt; }
p.my { color:#000000; font-family:Verdana; font-size:11pt; }
td.my { background-color:#808080}
-->
</style>
</head>
<body>
<form action="xxx" name="xxx" onsubmit="xxx">
<input type="hidden" name="redirect" value="danke.html">
<input type="hidden" name="subject" value="Kontaktaufnahme">
<input type="hidden" name="admin" value="email@email.de">
<input type="hidden" name="admin1" value="">
<input type="hidden" name="admin2" value="">
<input type="hidden" name="email" value="[email protected]">
<div align="center"><center>
<table width="80%" border="0" cellpadding="3" cellspacing="2"> <tr>
<td colspan="2"><h1 class="my">Kontakt<br></h1></td></tr>
<tr><td colspan="2"><p class="my"><br></p></td></tr>
<tr><td align="right" valign="top" class="my"><p class="my">Name</p></td><td class="my">
<input type="text" name="name" value="" size="25" maxlength="200"></td></tr><tr><td align="right" valign="top" class="my"><p
class="my">Email</p></td><td class="my">
<input type="text" name="email" value="" size="25" maxlength="200"></td></tr><tr><td align="right" valign="top" class="my"><p
class="my">Telefon</p></td><td class="my">
<input type="text" name="telefon" value="" size="25" maxlength="200"></td></tr><tr><td align="right" valign="top"
class="my"><p class="my">Nachricht</p></td><td class="my"><textarea name="nachricht" cols="40"
rows="12"></textarea></td></tr>
<tr><td colspan="2"><p class="my"><br></p></td></tr>
<tr><td colspan="2"><input type="submit" name="next" value="Abschicken"><input type="reset" name="next"
value="Zurücksetzen"></td></tr></table></center></div></form>
</body>
</html>
Wäre total lieb, wenn mir jemand helfen würde.
Viele Grüße
SugarKane
Es ist mir ein wenig peinlich, da es ja schon viele Threads über Kontaktformulare gibt und auch Tutorials, aber da ich weder eine Ahnung von PHP noch von CGI habe bekomme ich es irgendwie einfach nicht hin... :(
Wenn mir jemand helfen würde, wär ich dankbar.
Ich hab ein einfaches HTML Formular gebastelt und frage mich nun, soll ich es mit PHP oder CGI verlinken. Und wie genau stelle ich das an?
Hier ist mein HTML Code:
<html><head>
<meta http-equiv="Content-Language" content="de">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="generator" content="ekiwi-phpFormmaker">
<script language="JavaScript" type="text/javascript">
function eKiwi_Form_Check(phpform)
{
return (true);
}
</script>
<title>Kontakt</title>
<style type="text/css">
<!--
body { background-color:#C0C0C0;background-image:url(); }
h1.my { color:#000000; font-family:Verdana; font-size:18pt; }
p,li { color:#000000; font-family:Verdana; font-size:11pt; }
TD { color:#000000; font-family:Verdana; font-size:11pt; }
p.my { color:#000000; font-family:Verdana; font-size:11pt; }
td.my { background-color:#808080}
-->
</style>
</head>
<body>
<form action="xxx" name="xxx" onsubmit="xxx">
<input type="hidden" name="redirect" value="danke.html">
<input type="hidden" name="subject" value="Kontaktaufnahme">
<input type="hidden" name="admin" value="email@email.de">
<input type="hidden" name="admin1" value="">
<input type="hidden" name="admin2" value="">
<input type="hidden" name="email" value="[email protected]">
<div align="center"><center>
<table width="80%" border="0" cellpadding="3" cellspacing="2"> <tr>
<td colspan="2"><h1 class="my">Kontakt<br></h1></td></tr>
<tr><td colspan="2"><p class="my"><br></p></td></tr>
<tr><td align="right" valign="top" class="my"><p class="my">Name</p></td><td class="my">
<input type="text" name="name" value="" size="25" maxlength="200"></td></tr><tr><td align="right" valign="top" class="my"><p
class="my">Email</p></td><td class="my">
<input type="text" name="email" value="" size="25" maxlength="200"></td></tr><tr><td align="right" valign="top" class="my"><p
class="my">Telefon</p></td><td class="my">
<input type="text" name="telefon" value="" size="25" maxlength="200"></td></tr><tr><td align="right" valign="top"
class="my"><p class="my">Nachricht</p></td><td class="my"><textarea name="nachricht" cols="40"
rows="12"></textarea></td></tr>
<tr><td colspan="2"><p class="my"><br></p></td></tr>
<tr><td colspan="2"><input type="submit" name="next" value="Abschicken"><input type="reset" name="next"
value="Zurücksetzen"></td></tr></table></center></div></form>
</body>
</html>
Wäre total lieb, wenn mir jemand helfen würde.
Viele Grüße
SugarKane