/login.php

Description

Login Script

Validates the login form, authenticates the user and stores the user information in session variables

  • todo: add template support
  • author: Stanislav Miroshnikov
Includes
require_once ("HTML/QuickForm.php") (line 23)

Requires PEAR HTML_QuickForm package

Functions
login (line 74)

Authenticates the user

  • todo: login attempts counter
  • todo: a more secure way of keeping track of the user that includes keeping track of user's IP address
void login (fields $fields)
  • fields $fields: an associative array containing fields of the form

Documentation generated on Tue, 4 Jan 2005 20:26:07 -0500 by phpDocumentor 1.3.0RC3