summaryrefslogtreecommitdiff
path: root/www-ssl/admin/user2.php
diff options
context:
space:
mode:
authorcookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-09 20:39:57 +0000
committercookie <cookie@29ba0400-6e00-0410-a75a-ca02368028f8>2005-11-09 20:39:57 +0000
commitd7f73f35f41d1ca7c1185cff87d585c3e7e4e181 (patch)
tree5b2e48e809df3971d6187ec9c48cc21b49316d1e /www-ssl/admin/user2.php
parentf153bd996a8e99d06825b0467b58ce3ce8666bc0 (diff)
bugfix: post und get vertaucht
git-svn-id: svn://svn.cccv.de/engel-system@35 29ba0400-6e00-0410-a75a-ca02368028f8
Diffstat (limited to 'www-ssl/admin/user2.php')
-rwxr-xr-xwww-ssl/admin/user2.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/www-ssl/admin/user2.php b/www-ssl/admin/user2.php
index 5f94c093..d4daaf23 100755
--- a/www-ssl/admin/user2.php
+++ b/www-ssl/admin/user2.php
@@ -89,15 +89,14 @@ if (IsSet($_GET["action"]))
case "newpw":
echo "Bitte neues Kennwort f&uuml;r <b>";
// Get Nick
- $USQL = "SELECT * FROM User where UID=". $_POST["eUID"];
+ $USQL = "SELECT * FROM User where UID=". $_GET["eUID"];
$Erg = mysql_query($USQL, $con);
echo mysql_result($Erg, 0, "Nick");
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=\"ePasswort2\">";
- echo "<input type=\"hidden\" name=\"eUID\" value=\"". $_POST["eUID"]. "\">";
- echo "<input type=\"hidden\" name=\"action\" value=\"newpwsave\">\n";
+ echo "<input type=\"hidden\" name=\"eUID\" value=\"". $_GET["eUID"]. "\">";
echo "<input type=\"submit\" value=\"sichern...\">\n";
echo "</form>";
break;