require_once('db_connection.php'); $page="" ; $errorMsg=""; $hasError=0; if ($_POST['post'] == 1) { $email=$_POST["fld_email"]; if ($email==NULL || $email==''){ $hasError=1; } if($hasError==0){ $verfiy_code=randomPrefix(30); $strSQL="update tbl_member set member_passcode='".$verfiy_code."' where member_email='".cleanQuery($email)."'"; mysql_query($strSQL); $message = '
Please click the link below to reset your password |
Reset your password |
Or copy and paste the following into your browser: http://www.famousdoctor.org/password_reset.php?email='.$email.'&code='.$verfiy_code.' |
Regards, famousdoctor.org |