/**
* Forgot Password form has been submitted and no errors
* were found with the form (the username is in the database)
*/
if(isset($_SESSION['forgotuser'])){
/**
* New password was generated for user and sent to user's
* email address.
*/
if($_SESSION['forgotuser']){
echo "
Username Sent!"; echo "Your username and password has been retrieve "
."and sent to the email User Retrival Failure"; echo "There was an error sending you the "
."email with your username, Forgot UsernameYour username will be retrieve for you and sent to the email addressassociated with your account, all you have to do is enter your email. echo $form->error("email"); ?> } ?> |