Code: Select all
$subject = "User Password For $user_name_reset";
$message = "This is an automated message. If you did not intend to recieve it, please ignore it.\n\nYou requested your password to be reset and/or confirmation of your username.\n\nUsername: $user_name_reset\nPassword: $pass\n\nRegards, Dan";
$headers = 'From: Hades';
mail($email_reset,$subject,$message,$headers);
print "<p>Your username/password has been e-mailed to you. Please check the account you used to register</p>\n";I think this is because I'm hosting it on a dedicated linux with dynamic DNS, can I change that name by altering the /etc/hosts file?