欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

asp 驗(yàn)證用戶名是否包含有非常字符的函數(shù)

 更新時(shí)間:2007年08月08日 12:09:32   作者:  
<%
'******************************
'函數(shù):IsValidUserName(byVal UserName)
'參數(shù):UserName,用戶名稱
'作者:阿里西西
'日期:2007/7/15
'描述:驗(yàn)證用戶名是否包含有非法字符,不含非法字符返回:true
'示例:IsValidUserName(byVal UserName)
'******************************
Function IsValidUserName(byVal UserName)
 Dim i,c
 IsValidUserName = True
 For i = 1 To Len(UserName)
  c = Lcase(Mid(UserName, i, 1))
  If InStr("$!<>?#^%@~`&*();:+='""  ", c) > 0 Then
    IsValidUserName = False
    Exit Function
  End IF
 Next
End Function
%>

相關(guān)文章

最新評(píng)論