assign('email',$_REQUEST['email']); $X->assign('password',$password); $passwdMsg = $X->fetch('password_msg.html'); mail($_REQUEST['email'],'Lost Password Request',$passwdMsg,"From: ".$config['help']['support_email']." <".$config['help']['support_email'].">"); $msg = base64_encode('#00A000|#FFFFFF|Password information has been sent to your email account!
Please check your inbox in a few minutes.'); } else $msg = base64_encode('#DA0000|#FFFFFF|Email address information not found.'); } if ($_POST['nohead']) { print "

An email with your password has been sent!

"; print ""; } else { header("Location:index.php?msg=$msg&nohead={$_POST['nohead']}"); } ?>