<?php
if (preg_match("/password_changed_email.php/",$_SERVER['PHP_SELF']))
{
Header("Location: index.php");
exit;
}
$coname=CO_NAME;
$wmm_url=$thedomain."/".MEMBERS_SECTION_FOLDER."/".ADMIN;
$thesubject="ADMIN PASSWORD changed for $coname - details enclosed.";
$themessage="Hi
The password has been changed on your account at $coname,
below are your NEW login details for your account with us.
http://$wmm_url/
Click on, or Cut and paste the above Internet address (URL) into the address
bar of your browser and press return (ENTER) on your keyboard.
Then login using:
Username: $their_username
Password: $their_password
Please note that these details are CAsE SenSItiVE!";
wmm_mail($email,$thesubject,$themessage);
?>