SetConfirmationKey()) { $showMessage1 = true; $emailMessage = "This will be the password reset email! http://" . $confirm['key'] ; $emailMessage = "You or some one has recently requested a password reset for your AdMangler account on the website ".$_SERVER['SERVER_NAME'].".\n "; $emailMessage .= "If you would like to reset the password for this account you can use the following link:\n\n"; $emailMessage .= "http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . "&key=" . $confirm['key'] ."\n\n"; $emailMessage .= "If you did not request a password reset then there is no need to do anything.\n Thanks!"; mail($confirm['email'], "Reset AdMangler Password for ".$_SERVER['SERVER_NAME']."!", $emailMessage); } } if (isset($_POST['password']) && isset($_POST['password2'])) { if ($adMangler->ResetPassword()) { $showMessage2 = true; } } ?>

Reset Password

An email with information on how to reset your password has been sent to the email address on file! Please check your email to reset your password! Thanks!

Reset Password

Your password has been reset!

ValidConfirmationKey()): ?>

Register

Reset Password