Class captcha

Description

Class contains contains simple methods for doing captcha

Located in /lib/captcha.php (line 14)


	
			
Method Summary
static int checkCaptcha (int $res)
static string createCaptcha ()
Methods
static checkCaptcha (line 42)

Method for checking if entered answer to captcha is correct

  • return: 1 on success and 0 on failure.
  • access: public
static int checkCaptcha (int $res)
  • int $res: checks if the entered int in a captcha form
static createCaptcha (line 20)

very simple captcha function doing a multiplication

  • return: the catcha to be used in forms
  • access: public
static string createCaptcha ()

Documentation generated on Fri, 17 Dec 2010 17:56:32 +0100 by phpDocumentor 1.4.3