include("common/header.php"); ?> if (empty($_POST["email"])) {$errmsg.="
Forgot your password? No worries, it happens! You busy, muti-level-thinking, machine of awesomeness, you ;) Simply put in your email address below and submit the form, and we will email a temporary password to you.
} // end if errors exist else { // else if no errors reset the password and mail user the new password include("common/helpers/stringfuncs.php"); $pass = rand_string(8); //custom function will generate 8 char string $user = $_POST["email"]; include("common/db/connectdb.php"); // connect db // set password to new password include("common/queries/qry_setPass.php"); // send the password in email $to = $user; $subject = "Your password was reset for pointshootreceipt.com"; $message = "Hello!,\r\n\r\nYour password was reset at pointshootreceipt.com using the password reset or forgot password feature.\r\n\r\nYour new password is: " . $pass ."\r\n\r\nYou can now log into your account using the new password at http://www.pointshootreceipt.com.\r\n\r\nBe sure to change your password once you log in under your Account Preferences.\r\n\r\nPlease do not reply to this automated email.\r\n\r\nThank you!"; include("common/communication/sendemail.php") ?>We're reset your password you shrewd convincer, you ;)
An email with a new password has been sent to you at echo $user; ?>. You can use this password to log into your account. Use the button below to goto the log in page. Also, as with new emails, please do make sure that the email didn't go to your SPAM folder if you don't see it in your inbox.
If you've been unsuccessful at setting your password, and are here for the second, or third, or fourth time (we hope not!) then please report this to us so we can fix this ASAP!
Go to Login Page Report Issue with Reset } ?>