MySQL Forums
Forum List  »  PHP

Re: Resetting Password - PLEASE HELP!!!
Posted by: sajithkumar kanangottu
Date: November 21, 2005 11:37PM

<?php
require_once('manormotors_fns.php');
do_html_header('Resetting password');

$username = $_POST['username'];

try
{
$password = reset_password($username);
____________________________________________________
echo $username:
echo $password;
////// check you have the proper variable
____________________________________________________
notify_password($username, $password);
echo 'Your new password has been emailed to you.<br />';
}
catch (Exception $e)
{
echo 'Your password could not be reset - please try again later.';
}
do_html_url('login.php', 'Login');
do_html_footer();
?>

Options: ReplyQuote


Subject
Written By
Posted
Re: Resetting Password - PLEASE HELP!!!
November 21, 2005 11:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.