GetOne("Select count(uid) From uc Where email ='{$strEmail}'"); $strSeleSQL = " Select username,email From uc Where email ='{$strEmail}'"; $rs=$conn->SelectLimit($strSeleSQL,$lngCount,0); if($lngCount==0){ ShowMsgAndBack("很抱歉此邮件没有注册任何用户!"); exit; } $ToEmail = $rs->fields['email']; while(!$rs->EOF){ $arrName.=$rs->fields['username']."
"; $rs->MoveNext(); } require_once WEB_ROOT."/Inc/SendMail.php"; $strMailContent = "

尊敬的客户:您好!

通过此邮件注册的帐号如下:
............................
{$arrName}
............................
请确认你的登陆帐号 登录网址为:www.apparelsos.com
[服饰资源网]
Email:".DEFAULT_SERVICE_Mail." 电话: ".DEFAULT_SERVICE_PHONE."

"; //发送邮件 SendMail($ToEmail,"服饰资源网会员找回用户名",$strMailContent); unset($_SESSION['VerifyCode']); ShowMsgAndRedirect("您的用户名已发送到您的邮箱,请注意查收!","Login.html"); exit; }else{ ShowMsgAndBack("验证码不正确!"); exit; } } ?> 忘记用户名-<?=DEFAULT_WEB_NAME?>
   
如果您在注册过程中遇到问题请拨打
服务热线:

返回首页|帮助
   
忘记用户名
请您输入相关信息
  输入邮箱: 请输入准确的邮件地址,否则无法获取用户名!
输入验证码: 看不清楚,点击换图