找回密码
 注册
查看: 3170|回复: 5
收起左侧

注册时使用中文注册

[复制链接]

5412

主题

8453

帖子

1万

积分

管理员

出售国内外虚拟空间

Rank: 10Rank: 10Rank: 10

积分
14896
帖子
8453
精华
67
体力
14896 点
蓝豆
2391 点
注册时间
2007-6-8

终身成就奖LY官方团队会员身份ID卡

发表于 2007-11-20 12:10:57 | 显示全部楼层 |阅读模式

论坛注册用户名改为中文注册
reg.asp 文件中找到 :
If Instr(username,\"=\")>0 or Instr(username,\"%\")>0 or Instr(username,chr(32))>0 or Instr(username,\"?\")>0 or Instr(username,\"&\")>0 or Instr(username,\";\")>0 or Instr(username,\",\")>0 or Instr(username,\"\'\")>0 or Instr(username,\",\")>0 or Instr(username,chr(34))>0 or Instr(username,chr(9))>0 or Instr(username,\"?\")>0 or Instr(username,\"$\")>0 or Instr(username,\"|\")>0 Then
Dvbbs.AddErrCode(19)
Exit sub
End If
在其下面加入 :


Dim Ndht_CHName
Ndht_CHName = True
For i = 1 To Len(UserName)
If Asc(Mid(UserName, i, 1)) >=0 Then
Ndht_CHName = False
Exit For
End If
Next
If Not Ndht_CHName Then
Response.redirect \"showerr.asp?ErrCodes=

  • 注册名必须为中文!&action=OtherErr\"


    End If

  • 懒得打字嘛,点击右侧快捷回复
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则

    关闭

    网站公告上一条 /2 下一条

    GMT+8, 2025-4-28 08:06 , Processed in 0.100649 second(s), 23 queries , Gzip On.

    © 2006-2022 Powered by Discuz! X3.4

    快速回复 返回顶部 返回列表