0

关于验证码组件

asked 2010-03-11 19:40:07 +0800

lei52bo gravatar image lei52bo
39

验证码组件可以增加个只随机产生数字验证码的功能。。

产生的验证码可以配置,验证码内容为 全部为数字、全部字母或它们组合

delete flag offensive retag edit

3 Replies

Sort by » oldest newest

answered 2010-05-25 21:30:43 +0800

le gravatar image le
84

只是还有一个问题,没办法设置字体的高度. 这样如果把图片高度弄小了, 字就被切掉了.

link publish delete flag offensive edit

answered 2010-05-25 21:28:06 +0800

le gravatar image le
84

updated 2010-05-25 21:28:26 +0800

<captcha id="captc" height="40px" width="100px" length="4"
noise="false" exclude="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"/>


这样出来的就是纯数字

link publish delete flag offensive edit

answered 2010-03-14 20:29:16 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

試一下 Captcha.setExclude(String)

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-03-11 19:40:07 +0800

Seen: 775 times

Last updated: May 25 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More