| | | | |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Erfahrener Benutzer | Das Problem wird auch zu 99,99% in dem Code drumherum, sprich in deiner index.php liegen, die ich wortlos gerade vermute. Auch fehlt das Code- Fragment mit dem Formular.
__________________ www.php-maven.org PHP und Maven vereint: Build/Deploy/Produktion/Konfiguration, Projekt Management, CI, PHPUnit, zahlreiche Frameworks Twitter @ https://twitter.com/#!/mepeisen und Facebook @ http://t.co/DZnKSUih |
| |
| | |
| Erfahrener Benutzer | Eben deswegen und lies bitte noch einmal genau meinen Beitrag. Mit halben Code- Fragmenten ist das eher ein Rästelraten. Wir wissen nichts, weder ob du Sessions nutzt, noch, wie deine index.php ausschaut, noch, was du in deinem HTML fürs Formular stehen hast....
__________________ www.php-maven.org PHP und Maven vereint: Build/Deploy/Produktion/Konfiguration, Projekt Management, CI, PHPUnit, zahlreiche Frameworks Twitter @ https://twitter.com/#!/mepeisen und Facebook @ http://t.co/DZnKSUih |
| |
| | |
| Gast
Beiträge: n/a
| ich glaube auch nicht das dieser weiterhilft, denn es ist ja nicht nur ein formular, sondern alle auf der ganzen Website.. aber hier ist er trotzdem : Code: <? if (!($_GET['conf'])) { ?>
<table border="0" width="570" cellspacing="0" cellpadding="0">
<tr>
<td width="15"></td>
<td valign="top">
[img]/new/contact/images/contact.gif[/img]</td>
</tr>
<tr>
<td width="15"></td>
<td valign="top">
</td>
</tr>
<tr>
<td width="15"></td>
<td valign="top">
<table border="0" width="450" cellspacing="0" cellpadding="0">
<tr>
<td background="/new/gallery/images/headline3.gif" colspan="3">
Kontaktformular</td>
</tr>
<tr>
<td width="15"></td>
<td width="200"></td>
<td></td>
</tr>
<form method="POST" action="sendmessage.php">
<table border="0" width="540">
<tr>
<td width="100">Name</td>
<td><input type="text" name="conname" size="62" class="inputtext"></td>
</tr>
<tr>
<td width="100">E-mail</td>
<td><input type="text" name="conemail" size="62" class="inputtext"></td>
</tr>
<tr>
<td width="100">Betrifft</td>
<td>
<select size="1" name="conbetreff" class="inputtext">
<option selected>Allgemein</option>
<option>TCO Tuningevent 2005</option>
<option>Website</option>
<option>Werbeanfrage</option>
</select>
</td>
</tr>
<tr>
<td width="100">Text</td>
<td><textarea rows="9" name="context" cols="79" class="inputtext"></textarea>
</td>
</tr>
<tr>
<td width="100"></td>
<td></td>
</tr>
<tr>
<td width="100"></td>
<td><input type="submit" value="Absenden" name="conbutton" class="button"></td>
</tr>
</table>
<td width="15">
</td>
</table></form>
</td>
</tr>
</table>
<? }
else { ?>
<table border="0" width="570" cellspacing="0" cellpadding="0">
<tr>
<td width="15"></td>
<td valign="top">
[img]/new/gallery/images/tit_gallery.gif[/img]</td>
</tr>
<tr>
<td width="15"></td>
<td valign="top">
</td>
</tr>
<tr>
<td width="15"></td>
<td valign="top">
<table border="0" width="450" cellspacing="0" cellpadding="0">
<tr>
<td background="/new/gallery/images/headline3.gif" colspan="3">
Sendebestätigung</td>
</tr>
<tr>
<td width="15"></td>
<td width="200"></td>
<td></td>
</tr>
<table border="0" width="540">
<tr>
<? if ($_GET['conf']=="false") { ?>
<td>
Es wurden nicht alle Felder korrekt ausgefüllt!
Zurück</td>
<? } else { ?>
<td>
Vielen Dank, wir haben deine Nachricht erhalten und behandeln sie so schnell als möglich
zur Hauptseite</td>
<? } ?>
</tr>
</table>
<td width="15">
</td>
</table>
</td>
</tr>
</table>
<? } ?>
|
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [JS] onClick funktioniert erst beim 2. Mal Klicken. | DER_Brain | HTML, Usability und Barrierefreiheit | 2 | 08.07.2008 10:47 |
| php für mehrere formulare | tosalileo | PHP Tipps 2008 | 6 | 03.02.2008 18:41 |
| Session funktioniert nicht bei session.use_cookies = Off | Quagga | PHP Tipps 2007 | 13 | 13.01.2007 18:27 |
| Lokal funktioniert alles -> auf Server fast nichts | PsychoEagle | Datenbanken | 2 | 14.08.2006 08:43 |
| gehackte Formulare | seb-web | PHP-Fortgeschrittene | 50 | 01.08.2006 15:59 |
| [Erledigt] Hilfe: Zugriff auf Webserver funktioniert nicht mehr | Server, Hosting und Workstations | 5 | 06.02.2006 22:34 | |
| Nach Einfügugng der Sessions funktioniert mein Program nicht | PHP-Fortgeschrittene | 1 | 02.10.2005 06:13 | |
| Session funktioniert nicht | PHP-Fortgeschrittene | 5 | 21.09.2005 16:23 | |
| Neues Fenster automatisch öffnen funktioniert nicht ? | HTML, Usability und Barrierefreiheit | 3 | 07.08.2005 23:43 | |
| Kontakrformular funktioniert nur zum Teil | PHP Tipps 2005-2 | 12 | 18.07.2005 11:24 | |
| pear mime mail funktioniert nicht überall | PHP Tipps 2005 | 4 | 05.01.2005 20:42 | |
| Problem: MySQL Query funktioniert nicht. Wieso? | PHP Tipps 2004-2 | 3 | 24.12.2004 13:58 | |
| Dateien erstellen oder schreiben funktioniert nicht im Web | PHP Tipps 2004-2 | 1 | 05.12.2004 19:39 | |
| User eingeloggt | PHP Tipps 2004 | 6 | 07.09.2004 00:32 | |
| [Erledigt] move_uploaded_file funktioniert nicht! | PHP-Fortgeschrittene | 4 | 23.08.2004 22:41 | |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| html code für kontaktformular mit sendebestätigung, homepage kontaktformular codefragment |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.