<?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."/members";
$thesubject="PASSWORD changed on account at $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 the above link and login using:
Username: $their_username
Password: $their_password
Please note that these details are CAsE SenSItiVE, and may contain letters and numbers!
Thank you.
Kind regards from $coname
http://$thedomain ";
wmm_mail($email,$thesubject,$themessage);
?>