XOOPS 登录注册图形验证v1.2

日期 2005年01月09日 22:40:44 | 新闻主题: 本站新闻

A security check for xoops register and login by using visual confirmation.

How to user it:
1 File Install
For login, overwrite your files with the folder 'securitycheck_for_login'
For register, overwrite your files with the folder 'securitycheck_for_register'
For both login and register, overwrite your files with the folder 'securitycheck'
2 Module update
If you install for login, once uploading the files, go to Administration Area and update the system module
3 Make it work
3.1 To enable the security check, go to xoopsroot/include/common.php
Set:
define('ENABLE_SECURITYCHECK_REGISTER', 1);
define('ENABLE_SECURITYCHECK_LOGIN', 1);
3.2 Set other parameters in xoopsroot/include/common.php
if(!defined('STORE_IN_DB')) define('STORE_IN_DB', 0);
if(!defined('SECURITYCHECK_TABLE')) define('SECURITYCHECK_TABLE', "security");
if(!defined('MAX_ATTEMPTS')) define('MAX_ATTEMPTS', 10);
3.3 If you set define('STORE_IN_DB', 1), you will need create a table !



本篇新闻来自XOOPS CHINA
http://xoops.org.cn

本篇新闻的链接网址是:
http://xoops.org.cn/article.php?storyid=134