You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
749 B

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

SimpleMvcCaptcha(验证码) 源码
项目描述:
ASP.NET MVC 3简单算数表达式验证码使用 HtmlHelper扩展方法。没有使用WCF等功能。使用C#编写。
关键特性:
Render captcha image based on simple ariphmetic expressions.
Randomly substitutes operators by predefined text ("+" -> "plus", "-" -> "minus").
Text changes its color randomly.
No open text expressions in code - all data is encrypted.
No WCF, cache, .axd etc required. Only HtmlHelper and sprecial Action for image genration.
Fully customizable server side. You can set font, size and other parameters via web.config file. If not - use default settings.
Fully customizable client side. Just redefine CSS classes for div and input elements.
提示: