Télécharger la liste

Description du projet

XOOPSの統合パッケージを開発するプロジェクトです。

Système requise

System requirement is not defined

Livrée : 2007-04-14 00:10
captcha captcha-010 (1 files Cacher)

Notes de release


このモジュールは CAPTCHA のライブラリです。
CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart)
はコメント・スパム対策手法の1つです。


● 対応しているモジュール
- xoops_comment ハック版 of XOOPS Cube 2.0.16a JP
- liaise 1.26 ハック版
- newbb 2.02 ハック版
- wbelinks 1.40


● 説明
CAPTCHAのクラスには captcha_x を採用した
http://www.phpclasses.org/browse/package/3023.html
フォントには Standard 35 TrueType Fonts を採用した
http://www.rops.org/download/std35ttf.zip


画像フォームの表示方法
-----
include_once XOOPS_ROOT_PATH.'/modules/captcha/include/api.php';
$img_input = $captcha_api->make_img_input();
$img_input を表示
------

画像認証のチェック方法
-----
include_once XOOPS_ROOT_PATH.'/modules/captcha/include/api.php';
if ( !$captcha_api->validate_post() ) {
エラー処理
}
-----


● インストール
モジュールの形態をとっていますが、実態はプログラム・ライブラリです。
モジュール・インストールをしても、しなくとも動作します。
インストールした場合は、管理者画面にて、プログラムが正常に動作するか確認できます。

(1) 通常のモジュールと同様に、modules ディレクトリの下に設置する。
(2) captcha.php を XOOPS_ROOT_PATH の下にコピーする。
cp XOOPS_ROOT_PATH/moduels/captcha.php XOOPS_ROOT_PATH

Changelog

No Changelogs