编辑“Gallery:模块:captcha

跳转至: 导航、​ 搜索
警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第1行: 第1行:
=Captcha模块=
=Captcha Module=


CAPTCHA是可以生成并分级测试的程序,这些测试人可以通过但当前计算机程序却不可以(很典型地如一个有无序文本的相片)。
A CAPTCHA is a program that can generate and grade tests that most humans can pass, but current computer programs can't pass (typically a picture with distorted text).


== 描述 ==
== Description ==
此模块提供同为其他模块所用的验证服务,比如用户登录,用户注册,游客评论和发送电子卡片。这将阻止恶意灌水者和黑客使用程序以自动执行这些操作。
This module provides a validation service used by other modules such as for user login, new user registration, guest comments and sending eCards.  This helps prevent spammers and hackers from using programs to automatically perform these operations.


== 用法 ==
== Usage ==
* 参读[[Gallery:Installing_Additional_Components#Installing_Modules_and_Themes|插件安装指导]]来启用CAPTCHA模块
* Read the [[Gallery:Installing_Additional_Components#Installing_Modules_and_Themes|plugin installation instructions]] to enable the CAPTCHA module
* '''站点管理(Site Admin)''' -> '''Captcha'''中配置captcha的用途
* Configure how captcha is used in '''Site Admin''' -> '''Captcha'''


== 要求 ==
== Requirements ==
需要'''[http://php.net/gd GD]''' 2.x或更新的PHP图片生成支持。注意大部分的PHP都装载有GD扩展。
Requires '''[http://php.net/gd GD]''' 2.x or newer support in PHP for image generation. Note that most PHP installations have the GD extension loaded.


PHP 编译技巧:
PHP compilation tips:
除了GD库外,在编译期上PHP必须具有JPEG支持。在你建立PHP时,加入如下编译期标志(compile time flag)。
In addition to the GD library, PHP must have JPEG support enabled at compile time. Add these compile time flags when you build PHP.
<pre>
<pre>
--with-gd
--with-gd
--with-jpeg-dir=/usr/lib  (或其他任何含有libjpeg BINARY库的目录)
--with-jpeg-dir=/usr/lib  (OR any other directory which contains the BINARY library of libjpeg)
</pre>
</pre>


[[Category:Gallery 2:Modules]]
[[Category:Gallery 2:Modules]]
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅Wordpress-mediawiki:版权的细节)。 未经许可,请勿提交受版权保护的作品!
取消 编辑帮助(在新窗口中打开)