CodeCharge Studio

CCLoginUser Function (PHP)

Description

Authenticates a user by comparing the login and password values against the values stored in the database. If a successful match is made, session variables containing the information of the logged in user are created to indicate an authenticated session.

Syntax

CCLoginUser(login, password)

Return value

Boolean

Parameters

Name Type Description Required
login string The username of the user to be logged in. Yes
password string The password of the user to be logged in. Yes

See Also:

CCGetUserID function, CCGetUserLogin function, CCLogoutUser function, CCGetGroupID function


On-line, printable versions and updates