Contents

 
Home
PHPRunner 6.1 manual
Prev Page Next Page
 
 

Event: BeforeLogin

 

Description

Function BeforeLogin is executed on the login page before verifying username and password.

Syntax

BeforeLogin($username,$password,$message)

Arguments

$username - user-entered login name.

$password - user-entered password.

$message - if the function return false, place the message to be displayed into this variable.

Return value

True: login will be validated against the login table.

False: invalid login.

Applies to pages

Login

Recommended predefined actions and sample events

Send a simple email

Insert a record into another table

Check to see if a specific record exists

Display a message on the Web page

Redirect to another page

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)