• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Problem mit "post" im Formular

Status
Für weitere Antworten geschlossen.

sweety100

Neues Mitglied
Hallo zusammen,

habe von meinem Programmierer ein halb fertiges Projekt zurück bekommen - er ist leider im Konkurs - und ich kann nix dafür ;)

In einem Monat habe ich es bis auf eine Seite geschafft alles selbst zum Laufen zu bringen nur jetzt weiss ich nicht mehr wo der Fehler sein soll.

Wie ihr unten sehen könnt handelt es sich um 3 Formulare wobei jedes mit dem "post" + pfad anfängt und auch wieder geschlossen wird.
Soweit so gut, es lässt sich auch öffnen nur wenn man dann im FF oder IE auf "abschicken" klicken will passiert rein gar nix.

Vielleicht hat jemand von euch eine Idee was ich nicht gesehen habe.
Sorry für die Länge.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="de">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252">
<title>KundenServiceCenter Sweetchillys</title>
<link rel="stylesheet" type="text/css"
href="https://www.sslkundenserver.de/www.sweetchillys.de/reg/css/format.css">
</head>
<body>
<table style="border-collapse: collapse;" border="0"
cellpadding="0" cellspacing="1" width="800">
<tbody>
<tr>
<td colspan="2"><img
src="https://www.sslkundenserver.de/www.sweetchillys.de/reg/header.jpg"
.........
<tr>
<td height="10" valign="top"
width="342"></td>
<td height="10" valign="top"
width="342"></td>
</tr>
<tr>
<td align="center" valign="top">
<table id="table10" border="0"
cellpadding="0" cellspacing="0">
<form method="post"
action="https://www.sslkundenserver.de/www.sweetchillys.de/reg/registrierung.php"></form>

<tbody>
<tr>
<td class="text" colspan="2"><b>Vorname:</b></td>
</tr>
<tr>
<td class="text" colspan="2">
<input
style="border: 1px solid rgb(189, 22, 56); padding: 1px; font-size: 11px; width: 215px; color: rgb(0, 0, 0); font-family: Verdana; height: 18px; background-color: rgb(255, 255, 255);"
name="vorname"></td>
</tr>
<tr>
<td class="text" colspan="2">&nbsp;</td>
</tr>
<tr>
<td class="text" colspan="2"><b>Nachname</b></td>
</tr>
<tr>
<td class="text" colspan="2">
<input
style="border: 1px solid rgb(189, 22, 56); padding: 1px; font-size: 11px; width: 215px; color: rgb(0, 0, 0); font-family: Verdana; height: 18px; background-color: rgb(255, 255, 255);"
name="nachname"></td>
</tr>
<tr>
<td class="text" colspan="2">&nbsp;</td>
</tr>
<tr>
<td class="text" colspan="2"><b>Firma
(Club):</b></td>
</tr>
<tr>
<td class="text" colspan="2">
<input
style="border: 1px solid rgb(189, 22, 56); padding: 1px; font-size: 11px; width: 215px; color: rgb(0, 0, 0); font-family: Verdana; height: 18px; background-color: rgb(255, 255, 255);"
name="firma"></td>
</tr>
<tr>
<td class="text" colspan="2">&nbsp;</td>
</tr>
<tr>
<td class="text" colspan="2"><b>Strasse:</b></td>
..........................
<tr>
<td class="text" colspan="2"
height="10"> </td>
</tr>
<tr>
<td class="text" colspan="2"><b>Passwort:</b></td>
</tr>
<tr>
<td colspan="2"> <input
style="border: 1px solid rgb(189, 22, 56); padding: 1px; font-size: 11px; width: 215px; color: rgb(0, 0, 0); font-family: Verdana; height: 20px; background-color: rgb(255, 255, 255);"
name="pass" type="password"></td>
</tr>
<tr>
<td class="text" colspan="2"
height="10"> </td>
</tr>
<tr>
<td class="text"><b>Ich bin
über 18 und<br>
akzeptiere die AGB´s:</b></td>
<td> <input
style="border: 1px solid rgb(189, 22, 56); padding: 1px; font-size: 11px; color: rgb(0, 0, 0); font-family: Verdana; height: 18px; background-color: rgb(255, 255, 255);"
value="1" name="u18agb" type="checkbox"></td>
</tr>
<tr>
<td class="text" colspan="2"
height="10"> </td>
</tr>
<tr>
<td class="text" colspan="2"
align="center">
<form method="post"
action="https://www.sslkundenserver.de/www.sweetchillys.de/reg/registrierung.php"
name="reg"> <button value="post" name="abschicken"></button>&nbsp;</form>

</td>
</tr>
</tbody>
</table>
</td>
<td align="center" valign="top">
<table id="table11" border="0"
cellpadding="0" cellspacing="0">
<form method="post"
action="https://www.sslkundenserver.de/www.sweetchillys.de/reg/login.php"></form>

<tbody>
<tr>
<td class="text"><b>Benutzername:</b></td>
</tr>
<tr>
<td> <input
style="border: 1px solid rgb(189, 22, 56); padding: 1px; font-size: 11px; width: 215px; color: rgb(0, 0, 0); font-family: Verdana; height: 18px; background-color: rgb(255, 255, 255);"
name="email" type="input"></td>
</tr>
<tr>
<td class="text" height="10"></td>
</tr>
<tr>
<td class="text"><b>Passwort:</b></td>
</tr>
<tr>
<td> <input
style="border: 1px solid rgb(189, 22, 56); padding: 1px; font-size: 11px; width: 215px; color: rgb(0, 0, 0); font-family: Verdana; height: 18px; background-color: rgb(255, 255, 255);"
value="" name="pass" type="password"></td>
</tr>
<tr>
<td class="text" height="10"></td>
</tr>
<tr>
<td class="text" align="center">
<a
href="https://www.sslkundenserver.de/www.sweetchillys.de/reg/login.php"><input
style="border: 1px solid rgb(189, 22, 56); padding: 1px; font-size: 11px; width: 215px; color: rgb(0, 0, 0); font-family: Verdana; height: 18px; background-color: rgb(255, 255, 255);"
value="Login" name="login" type="submit"></a></td>

...... Rest war zu lang
 
Zuletzt bearbeitet:
nachdem du das <form> tag gesetzt hast, schließt du es sofort wieder:

<form ...></form>

das formular hat also gar keinen inhalt. <input> felder, die zum formular gehören sollen, musst du zwischen diese beiden tags setzen, also z.B. so

<form ...><input type="text" name="egal" value="nicht so wichtig"><input type="submit" value="Senden"></form>,

erst dann wird auch dieses formular versendet und du kannst per

<?php echo $_POST["egal"]; ?>
den inhalt des input feldes abrufen. ;)
 
Hallo Asipak4You,

danke für die Anwort - habs versucht und es funkt jetzt alles.
Freu mich und bin froh - danke für die Hilfe.

Ps.
Nach dem ich aber eine Vorlage hatte die bereits gelaufen ist und nach dem Überarbeiten mit dem Programm "KompoZer" hatte ich den Fehler drinnen - ich hab jetzt noch alle Zeilen zwischen dem Orginal und der bearbeiten Version (mit und durch KompoZer) angeschaut.
Wenn man die Vorlage in KompoZer öffnet und auf Vorschau geht funktioniert noch alles - aber sobald man Abspeichert werden die <form> und die </form> in die gleiche Zeile gesetzt und es kommt zu dem Problem wie ich es hatte.
Dies nur als Tip.
 
Zuletzt bearbeitet:
Status
Für weitere Antworten geschlossen.
Zurück
Oben