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

<%set rs=Server.CreateObject("Adodb.recordset") sql="select id,title,dateandtime from jdzcn_net_movie where hidden=0 and canlook<=1 order by id desc" rs.open sql,conn,1,1 i=0 do while not rs.eof i=i+1 %> <%if i>=10 then exit do rs.movenext loop rs.close set rs=nothing %>
  <%=rs(1)%> <%=month(rs("dateandtime"))%>月<%=day(rs("dateandtime"))%>日
<%set rs=Server.CreateObject("Adodb.recordset") sql="select id,title,hits from jdzcn_net_movie where hidden=0 and canlook<=1 order by hits desc" rs.open sql,conn,1,1 i=0 do while not rs.eof i=i+1 %> <%if i>=10 then exit do rs.movenext loop rs.close set rs=nothing %>
  <%=rs(1)%> <%=rs(2)%>次
请输入用户名:
 
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; } ?>