Location: PHPKode > projects > XBR > mastop_publish/include/captcha/php-captcha.php
<?php
### =============================================================
### Mastop InfoDigital - Paixão por Internet
### =============================================================
### Imagem de CAPTCHA
### =============================================================
### Developer: Fernando Santos (topet05), hide@address.com
### Copyright: Mastop InfoDigital © 2003-2007
### -------------------------------------------------------------
### www.mastop.com.br
### =============================================================
### $Id: php-captcha.php,v 1.1.1.1 2007/01/31 19:30:00 topet05 Exp $
### =============================================================
if (file_exists("../../../../mainfile.php")) {
	include_once("../../../../mainfile.php");
}elseif (file_exists("../../../mainfile.php")){
	include_once("../../../mainfile.php");
}
$xoopsLogger->activated = false;
include_once XOOPS_ROOT_PATH."/header.php";
include_once('php-captcha.inc.php');
$aFonts = array('fonts/font1.ttf', 'fonts/font2.ttf', 'fonts/font3.ttf');
$oPhpCaptcha = new PhpCaptcha($aFonts, 200, 50);
$oPhpCaptcha->SetBackgroundImages('captcha.jpg');
$oPhpCaptcha->SetOwnerText($xoopsConfig['sitename']);
$oPhpCaptcha->Create();
?>
Return current item: XBR