location.href='index.html'"); exit; } $result =mysqli_query($conn,$sql); if(mysqli_num_rows($result)==0) { $er_login = "Email is not in record!."; }else{ while($myrow=mysqli_fetch_array($result)) { $lmrefno=$myrow["lm_refno"]; $newpwd=new_password($lmrefno,$userID); $mailmsg.="Dear Valued Customer,\n\nYou have requested for your login password to be re-sent to you.\n\nYour new login password is\n\n$newpwd\n\nThank you\n\nAeroline Administrator"; $from="support@aeroline.com.my"; mail($userID,"Aeroline - Your New login password",$mailmsg,'From:'.$from); $debug_msg="id : $userID , pwd :$newpwd"; //mail('cheemei@lawassociate.com',"Aeroline - Your New login password",$debug_msg,'From:'.$from); // add in log file 12/6/15 $sql="insert into log (log_name, log_created, log_counter, log_user, log_type, log_client_ip) values ('$debug_msg', now(),'online sg','$lmrefno','change password','".$_SERVER['REMOTE_ADDR']."')"; @mysqli_query($conn,$sql); print(""); print(""); } } } ?> Aeroline

Forgot your password?

Just enter the Email Address and we will search our database for a match.
We will then email your password to you.


Email Address :
  Go Back