forked from FullService/OsTicket
-
Notifications
You must be signed in to change notification settings - Fork 20
/
captcha.php
22 lines (17 loc) · 706 Bytes
/
captcha.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
/*********************************************************************
captcha.php
Simply returns captcha image.
Peter Rotich <[email protected]>
Copyright (c) 2006-2010 osTicket
http:https://www.osticket.com
Released under the GNU General Public License WITHOUT ANY WARRANTY.
See LICENSE.TXT for details.
vim: expandtab sw=4 ts=4 sts=4:
$Id: captcha.php,v 1.1.2.2 2010/04/15 14:34:05 carlos.delfino Exp $
**********************************************************************/
require_once('main.inc.php');
require(INCLUDE_DIR.'class.captcha.php');
$captcha = new Captcha(5,12,ROOT_DIR.'images/captcha/');
echo $captcha->getImage();
?>