Auth Class
Located in /classes/class.dvt_authenticate.php (line 15)
Creator
returns HTML formatted form string
Checks if user already authorised
Returns 1 if already authorised else 0 Gets session data from cookies
Authenticates User
Sets $secure=1, puts two random tokens in database for current user Returns cookie to user containing two random tokens which are used to maintain session
Checks to see if username (in this case emailaddress) and password correct
Returns 1 if correct else 0
Validates form.
email address is checked to see if it contains @ character, has a prefix and has a domain name password is checked to see if it long enough If valid returns 1 else 0
Documentation generated on Tue, 21 Sep 2004 13:46:01 +0100 by phpDocumentor 1.3.0RC3