| | | | |
| | |
| Benutzer Registriert seit: 24.07.2008
Beiträge: 81
![]() | Hallo Support Team, Ich habe eine html seite mit einen Formular. Klicke ich auf senden, so wird mit hilfe von eine php Datei das mail gesendet. Funktioniert bestens. Nun möchte ich nicht eine Weisse seite, sondern eine schöne Seite mit dem Text "Vielen Dank blabla". Nun habe ich einfach noch zusätzlich den HTML Code in diese PHP Datei hinzugefügt. Nebeneffekt: Schöne Seite mit Vielen Dank, doch das Email wird nicht gesendet. Hat jemand eine Idee warum? Code: <? $name = $_POST["name"]; $firma = $_POST["firma"]; $telefonnummer = $_POST["telefonnummer"]; $sender = $_POST["email"]; $nachricht = $_POST["nachricht"]; $empfaenger = "info@blue-web.ch"; $text = " Firma: $firma\n Name: $name\n Tel: $telefonnummer\n Email: $sender\n\n Nachricht:\n $nachricht"; mail($empfaenger,$name,$text,"from:$sender <$name>"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE></TITLE> <meta http-equiv="Content-Style-Type" content="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <LINK HREF="style.css" TYPE="text/css" REL="stylesheet"> </HEAD> <BODY> <table cellspacing="0" cellpadding="0" align="center"> <tr> <td style="width:766px; height:780px"> <table cellspacing="0" cellpadding="0"> <tr> <td style="width:42px; height:780px"></td> <td style="width:676px; height:780px"> <table cellspacing="0" cellpadding="0"> <tr> <td style="width:676px; height:119px; background-image: url(images/blueweb_logo.jpg); background-repeat:no-repeat"> </td> </tr> <tr> <td style="width:676px; height:563px"> <table cellspacing="0" cellpadding="0"> <tr> <td style="width:226px; height:563px"> <a href="index-1.html"><img src="images/back.gif" alt="" border="0"></a><img src="images/pic5_1.gif" alt=""><br> <img src="images/pic5_2.gif" alt=""><br> <a href="index-2.html"><img src="images/comp.gif" alt="" border="0"></a><a href="index-3.html"><img src="images/srv.gif" alt="" border="0"></a><br> <a href="index-4.html"><img src="images/sol.gif" alt="" border="0"></a><a href="index-5.html"><img src="images/cont.gif" alt="" border="0"></a><br> </td> <td style="width:450px; height:563px; background-color:#F8F8F8; background-image:url(images/top.gif); background-repeat:no-repeat"> <table cellspacing="0" cellpadding="0"> <tr> <td style="width:450px; height:563px; background-image:url(images/bottom.gif); background-repeat:no-repeat; background-position: left bottom" class="list"> <br style="line-height:30px"> <img src="images/title5_1.gif" alt="" style="margin-left:29px"><br> <br style="line-height:9px"> <img src="images/pic5_3.gif" alt="" align="left" style="margin-left:30px; margin-top:2px; margin-right:14px"> <strong>Blue-web.ch</strong><br> Allschwilerstrasse 4, 4104 Oberwil<br> <br style="line-height:12px"> Mobil: +41 (0)78 905 12 65<br> E-Mail: info@blue-web.ch<br> <br style="line-height:26px"> <img src="images/px2_1.gif" alt="" style="margin-left:29px"><br> <img src="images/title5_2.gif" alt="" style="margin-left:28px"><br> <div style="margin-left:30px"> <strong>Vielen Dank für Ihre nachricht!<br>Wir werden uns innerhalb von 24 Stunden bei Ihnen melden<br> <br style="line-height:9px"> </div> <br style="line-height:14px"> <img src="images/px2_1.gif" alt="" style="margin-left:29px"><br> <br style="line-height:24px"> <img src="images/title5_3.gif" alt="" style="margin-left:28px"><br> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td style="width:676px; height:98px" class="policy"> <br style="line-height:45px"> Blue-web.ch © 2006 <img src="images/img.gif" alt=""> </td> </tr> </table> </td> <td style="width:48px; height:780px"></td> </tr> </table> </td> </tr> </table> </BODY> </HTML> |
| |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Nur bestimmten Html Code zulassen? | litterauspirna | PHP Tipps 2008 | 5 | 29.04.2008 12:30 |
| Html Code maskieren mit php | Mania | PHP Tipps 2008 | 5 | 12.10.2007 08:34 |
| HTML Code in MySQL DB speichern | FireFIghter | Datenbanken | 3 | 27.12.2006 15:45 |
| Erzeugten html code an php übergeben | test022 | PHP Tipps 2006 | 5 | 11.08.2006 08:53 |
| benötige den HTML Code für die Bildgröße im Link | mickschen | HTML, Usability und Barrierefreiheit | 2 | 05.06.2006 20:29 |
| Probleme mit \" in html code | PHP Tipps 2006 | 6 | 22.02.2006 19:19 | |
| html code beim schreiben in mysql db entfernen | djrace | PHP Tipps 2006 | 1 | 03.02.2006 20:33 |
| PHP Link in einer HTML Datei ?! | PHP Tipps 2005-2 | 10 | 20.10.2005 14:23 | |
| [PHP5] HTML und PHP Code ordnentlich trennen | PHP Tipps 2005-2 | 6 | 09.09.2005 09:53 | |
| HTML Code in neuem fenster anzeigen | Bouni | PHP Tipps 2005-2 | 22 | 07.09.2005 12:21 |
| wie bekomm ich php variablen in einen html code, wenn... | Tic Rederon | PHP Tipps 2005-2 | 17 | 09.08.2005 13:19 |
| HTML Code | Simon9990 | PHP Tipps 2005-2 | 4 | 08.08.2005 13:17 |
| [Erledigt] BB Code funzt net. HTML angezeigt aber net "ausgeführt& | PHP-Fortgeschrittene | 5 | 23.02.2005 21:40 | |
| HTML Code in Variable - GEFAHR? | Beatbox | PHP Tipps 2004-2 | 4 | 18.12.2004 14:02 |
| editieren von html datei??? | PHP Tipps 2004 | 1 | 03.06.2004 22:33 | |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| html-code in php datei, html-code in php-datei, html in php-datei, php datei in html, php html coding style, php html email kommen die links als file://, html codes firmen, was ist eine datei mit html-code |