bugfix: post und get vertaucht

git-svn-id: svn://svn.cccv.de/engel-system@35 29ba0400-6e00-0410-a75a-ca02368028f8
main
cookie 19 years ago
parent f153bd996a
commit d7f73f35f4

@ -89,15 +89,14 @@ if (IsSet($_GET["action"]))
case "newpw": case "newpw":
echo "Bitte neues Kennwort f&uuml;r <b>"; echo "Bitte neues Kennwort f&uuml;r <b>";
// Get Nick // Get Nick
$USQL = "SELECT * FROM User where UID=". $_POST["eUID"]; $USQL = "SELECT * FROM User where UID=". $_GET["eUID"];
$Erg = mysql_query($USQL, $con); $Erg = mysql_query($USQL, $con);
echo mysql_result($Erg, 0, "Nick"); echo mysql_result($Erg, 0, "Nick");
echo "</b> eingeben:<br>"; echo "</b> eingeben:<br>";
echo "<form action=\"./user2.php\" method=\"POST\">\n"; echo "<form action=\"./user2.php?action=newpwsave\" method=\"POST\">\n";
echo "<input type=\"Password\" name=\"ePasswort\">"; echo "<input type=\"Password\" name=\"ePasswort\">";
echo "<input type=\"Password\" name=\"ePasswort2\">"; echo "<input type=\"Password\" name=\"ePasswort2\">";
echo "<input type=\"hidden\" name=\"eUID\" value=\"". $_POST["eUID"]. "\">"; echo "<input type=\"hidden\" name=\"eUID\" value=\"". $_GET["eUID"]. "\">";
echo "<input type=\"hidden\" name=\"action\" value=\"newpwsave\">\n";
echo "<input type=\"submit\" value=\"sichern...\">\n"; echo "<input type=\"submit\" value=\"sichern...\">\n";
echo "</form>"; echo "</form>";
break; break;

Loading…
Cancel
Save