Class SGL_Captcha

Description

Provides methods for generating/validating a captcha.

Located in /SGL/Captcha.php (line 46)


	
			
Method Summary
 static string generateCaptcha ()
 static bool validateCaptcha ([string $captcha = ''])
Methods
static generateCaptcha (line 55)

Returns random ascii art code for use as captcha.

  • return: formatted ascii art captcha
  • access: public
string generateCaptcha ()
static validateCaptcha (line 99)

Validates input against captcha code in users session.

  • access: public
bool validateCaptcha ([string $captcha = ''])
  • string $captcha

Documentation generated on Tue, 23 Feb 2010 18:14:28 +0000 by phpDocumentor 1.4.3