Ich habe ein Formular, aber brauche um die eingetragenen Daten auswerten und senden lassen zu können wohl einen Formmailer. Leider haben alle bisherigen Versuche welche anzupassen keinen Erfolg gebracht. Bitte helft mir eine Lösung für mein Problem zu finden.
Brauche dringend Hilfe
-
-
such mal nach der php funktion mail.
-
HTML Code:
Code
Alles anzeigen<form action="mailer.php" method="post"> Absender:<input id="betreff" type="text" name="sender" /> Betreff:<input id="betreff" type="text" name="betreff" /> Nachricht: <textarea id="mail" name="nachricht"></textarea> <input type="hidden" value="rick@uss-cochrane.de" name="mail" /> <input id="button" type="submit" value=":senden:" /> </form>
Die PHP Datei:PHP
Alles anzeigen<?php $mail = $_POST["mail"]; $betreff = stripslashes($_POST["betreff"]); $nachricht = stripslashes($_POST["nachricht"]); $sender = $_POST["sender"]; mail($mail, $betreff, $nachricht, "From: $sender"); header("Location: http://www.uss-cochrane.de/start.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>USS Cochrane - Mailer</title> <style type="text/css"> <!-- body { background-color: #000000; text-align: center; } a{ text-decoration: none; color: #0066FF; } a:hover{ text-decoration: none; color: #FF9900; } --> </style></head> <body> [url='start.php']weiter[/url] </body> </html>
-
also ich zeig mal ein paar Auszüge aus meinem Formular um deutlich zu machen welche Angaben gemacht und verschickt werden sollen... Mein Problem ist das nen normaless Kontakformular und nen normaler Formmeiler nicht ausreichen und ich die auch nicht ungebaut bekomm
Code
Alles anzeigen<form name="mein_umzug" action="senden.php" method="post" enctype="text/plain"> <table bgcolor="#a90000" border="0" cellpadding="0" cellspacing="0" width="570"> <tr> <td colspan="3" class="sw" height="20">Persönliche Angaben</td> </tr> <tr> <td width="272"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="right" height="16" width="35%"> [img]images/space.gif[/img]</td> <td height="16" width="5%"> [img]images/space.gif[/img]</td> <td height="16" width="60%"></td> </tr> <tr> <td class="formular" align="right" width="35%">Vorname<span class="rot">*</span>:</td> <td class="formular" width="5%"></td> <td width="60%"><input name="vorname" type="text"> </td> </tr> <tr> <td class="formular" align="right" width="35%">Telefonnummer<span class="rot">*</span>:</td> <td width="5%"></td> <td width="60%"><input name="telefon" type="text"> </td> </tr> <tr> <td class="formular" align="right" width="35%">Telefon mobil:</td> <td width="5%"></td> <td width="60%"><input name="tel_mobil" type="text"> </td> </tr> <tr> <td class="formular" align="right" width="35%">Telefon Firma:</td> <td width="5%"></td> <td width="60%"><input name="tel_job" type="text"> </td> </tr> <tr> <td width="35%"></td> <td width="5%"></td> <td width="60%"></td> </tr> </table> </td> <td width="15"> [img]images/space.gif[/img]</td> <td valign="top" width="293"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="44%"> [img]images/space.gif[/img]</td> <td width="3%"> [img]images/space.gif[/img]</td> <td width="48%"></td> <td width="5%"> [img]images/space.gif[/img]</td> </tr> <tr> <td class="formular" align="right" width="44%">Name<span class="rot">*</span>:</td> <td width="3%"></td> <td width="48%"><input type="text" name="name"> </td> <td width="5%"></td> </tr> <tr> <td class="button" align="right" width="44%">Faxnummer:</td> <td width="3%"></td> <td width="48%"><input name="fax" type="text"> </td> <td width="5%"></td> </tr> <tr> <td class="formular" align="right" width="44%">E-Mail<span class="rot">*</span>:</td> <td width="3%"></td> <td width="48%"><input name="email" type="text"> </td> <td width="5%"></td> </tr> <tr> <td class="formular" align="right" width="44%">Umzugstermin:</td> <td width="3%"></td> <td width="48%"><input name="umzugstermin" type="text"> </td> <td width="5%"></td> </tr> <tr> <td width="44%"></td> <td width="3%"></td> <td width="48%"> </td> <td width="5%"></td> </tr> </table> </td> </tr> <tr> <td class="sw" align="right" height="20" width="272">alte Anschrift</td> <td bgcolor="#a90000" width="15"></td> <td class="sw" width="293">neue Anschrift</td>
Code
Alles anzeigen<td class="formular" align="right" width="35%">Straße + Nr.<span class="rot">*</span>:</td> <td class="formular" width="5%"></td> <td width="60%"><input name="strasse_alt" type="text"> </td> </tr> <tr> <td class="formular" align="right" width="35%">PLZ<span class="rot">*</span>:</td> <td width="5%"></td> <td width="60%"><input name="plz_alt" size="6" type="text"> </td> </tr> <tr> <td class="formular" align="right" width="35%">Ort<span class="rot">*</span>:</td> <td width="5%"></td> <td width="60%"><input name="ort_alt" type="text"> </td> </tr> <tr> <td width="35%"></td> <td width="5%"></td> <td width="60%"></td> </tr> <tr> <td align="right" width="35%">Wohnung liegt im</td> <td width="5%"></td> <td width="60%"> <input name="stock_alt" size="6" type="text"> Stock </td> </tr> <tr> <td align="right" width="35%">Wohnfläche:</td> <td width="5%"></td> <td width="60%"> <input name="w_flaeche_alt" size="6" type="text"> qm </td> </tr> <tr> <td align="right" width="35%">Anzahl der Personen</td> <td width="5%"></td> <td width="60%"> <input name="personenzahl_alt" size="6" type="text"> </td> </tr> <tr> <td width="35%"></td> <td width="5%"></td> <td width="60%"> </td> </tr> <tr> <td align="right" width="35%">Treppenhaus ist</td> <td width="5%"></td> <td width="60%"> <input name="treppenhaus_alt" value="eng" class="radio" type="radio" checked> eng <input name="treppenhaus_alt" value="normal" class="radio" type="radio"> normal <input name="treppenhaus_alt" value="geräumig" class="radio" type="radio"> geräumig </td> </tr> <tr> <td width="35%"></td> <td width="5%"></td> <td width="60%"></td> </tr> <tr> <td align="right" width="35%">Aufzug vorhanden</td> <td width="5%"></td> <td width="60%"> <input name="aufzug_alt" value="ja" class="radio" type="radio"> ja <input name="aufzug_alt" value="nein" class="radio" type="radio"> nein </td> </tr> <tr> <td align="right" width="35%">Benutzung erlaubt</td> <td width="5%"></td> <td width="60%"> <input name="aufzug_benutzung_alt" value="ja" class="radio" type="radio" checked> ja <input name="aufzug_benutzung_alt" value="nein" class="radio" type="radio"> nein </td> </tr> <tr> <td height="14" width="35%"></td> <td height="14" width="5%"></td> <td height="14" width="60%"></td> </tr> <tr> <td align="right" width="35%">Außenaufzug</td> <td width="5%"></td> <td width="60%"></td> </tr> <tr> <td align="right" width="35%">Einsatz erforderlich</td> <td width="5%"></td> <td width="60%"> <input name="aussenaufzug_alt" value="ja" class="radio" type="radio" checked> ja <input name="aussenaufzug_alt" value="nein" class="radio" type="radio"> nein </td>
Code
Alles anzeigen<td>[b]Stückb></td> <td></td> <td>[b]Gegenstand[/b]</td> <td></td> <td>[b]RE[/b]</td> <td></td> <td>[b]GeGes. RE[/b]</td> </tr> <tr> <td> [img]images/space.gif[/img]</td> <td> [img]images/space.gif[/img]</td> <td> [img]images/space.gif[/img]</td> <td> [img]images/space.gif[/img]</td> <td> [img]images/space.gif[/img]</td> <td> [img]images/space.gif[/img]</td> <td> [img]images/space.gif[/img]</td> </tr> <tr> <td class="sw"> <input name="bad_re1" size="2" class="eingabe" type="text"> </td> <td class="oliv1"></td> <td class="oliv1">Deckenlampe</td> <td class="oliv1"></td> <td> <div align="center"> 2</div> </td> <td></td> <td><input name="bad_re1_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re2" size="2" class="eingabe" type="text"> </td> <td class="oliv2"></td> <td class="oliv2">Hut- / Kleiderablage / Garderobe</td> <td class="oliv2"></td> <td> <div align="center"> 2</div> </td> <td></td> <td><input name="bad_re2_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re3" size="2" class="eingabe" type="text"> </td> <td class="oliv1"></td> <td class="oliv1">Schuhschrank</td> <td class="oliv1"></td> <td> <div align="center"> 4</div> </td> <td></td> <td><input name="bad_re3_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re4" size="2" class="eingabe" type="text"> </td> <td class="oliv2"></td> <td class="oliv2">Teppich</td> <td class="oliv2"></td> <td> <div align="center"> 3</div> </td> <td></td> <td><input name="bad_re4_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re5" size="2" class="eingabe" type="text"> </td> <td class="oliv1"></td> <td class="oliv1">Toilettenschrank</td> <td class="oliv1"></td> <td> <div align="center"> 2</div> </td> <td></td> <td><input name="bad_re5_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re6" size="2" class="eingabe" type="text"> </td> <td class="oliv2"></td> <td class="oliv2">Truhe / Kommode</td> <td class="oliv2"></td> <td> <div align="center"> 7</div> </td> <td></td> <td><input name="bad_re6_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re7" size="2" class="eingabe" type="text"> </td> <td class="oliv2"></td> <td class="oliv2">Wäschekorb/-puff</td> <td class="oliv2"></td> <td> <div align="center"> 2</div> </td> <td></td> <td> <input name="bad_re7_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re8" size="2" class="eingabe" type="text"> </td> <td class="oliv2"></td> <td class="oliv2">Bücherkarton (bis 80 l)</td> <td class="oliv2"></td> <td> <div align="center"> 1</div> </td> <td></td> <td> <input name="bad_re8_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re9" size="2" class="eingabe" type="text"> </td> <td class="oliv1"></td> <td class="oliv1">Umzugskarton (über 80 l)</td> <td class="oliv1"></td> <td> <div align="center"> 1,5</div> </td> <td></td> <td> <input name="bad_re9_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td class="sw"> <input name="bad_re10" size="2" class="eingabe" type="text"> </td> <td class="oliv2"></td> <td class="oliv2">Kleiderkarton</td> <td class="oliv2"></td> <td> <div align="center"> 6</div> </td> <td></td> <td> <input name="bad_re10_ges" size="4" class="ausgabe" type="text"> </td> </tr> <tr> <td> [img]images/space.gif[/img]</td> <td></td> <td></td> <td></td> <td></td> <td></td> <td></td>