你现在的位置 → 首页 →密码找回

请输入用户名:
 
alert('对不起!您没有输入电子邮件!\\n不能使用密码找回功能');location.href='".$_SERVER['HTTP_REFERER']."';"; exit; } $pwd=substr(time(),1,6); $html='
尊敬的用户'.$_POST['userid'].'您好:

您的新密码为'.$pwd.'。请妥善保管好您的密码。如果您忘记了密码可以使用本站密码找回功能。

再次感谢您的使用。

'.$web_title.'

 
'; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=gb2312' . "\r\n"; $headers .= 'From: '.$web_title.'密码找会 <'.$sitemail.'>' . "\r\n"; //$headers.="天天网络密码找回"; mysql_query("update jdzcnnet_members set password='".md5($pwd)."' where username='".sql_cut($_POST['userid'])."'"); mail($rs[0],"密码找会回",$html,$headers); echo ""; exit; } ?>