From 9bba3877d503f65da6cfd0401e6c10b22538b0e1 Mon Sep 17 00:00:00 2001 From: Stefan Frech Date: Tue, 6 May 2008 20:22:44 +0000 Subject: [PATCH] Added new change_password.php to the repos --- change_password.php | 69 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 change_password.php diff --git a/change_password.php b/change_password.php new file mode 100644 index 0000000..fe87539 --- /dev/null +++ b/change_password.php @@ -0,0 +1,69 @@ +escape ($password), + $mysql->escape ($username)); + + if ($mysql->query ($query)) { + $pw_message = "Password changed.
\n"; + } + else { + message ($mysql->error); + } + } + unset ($_POST['set_password1'], $_POST['set_password2'], $password); +} + +?> + +

Change Password

+ +
+ + + + + + + + + + + + + + + +
New Password
Verify new Password
+ + + + + +
+
+ +