Validation for Form and QueryString in ASP Classic using Regex. Almost working but missing something?

自作多情 提交于 2019-12-06 06:26:42

If it's not a typo then your fault was in the second parameter of the function call.

You call the function like:

<%=MakeSafe("test@test.com1234.5",email,50)%>

which is wrong because you should "..." the second parameter too. This should work:

<%=MakeSafe("test@test.com1234.5","email",50)%>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!