2011年9月12日
摘要: 服务器端验证代码:例一publicstaticboolValidatePhone(stringphone){returnSystem.Text.RegularExpressions.Regex.IsMatch(phone,@"^[1]+[3,5]+\d{9}");}例二arg="abcand";str_Regex=".*(=|and|exec|insert|select|delete|update|count|chr|mid|master|truncate|char|declare).*"if(Regex.Matches(arg,st 阅读全文
posted @ 2011-09-12 17:39 小小池 阅读(340) 评论(0) 推荐(0) 编辑