Freeder
 All Classes Files Functions Variables Pages
Functions
users.php File Reference

Various functions, not specific and widely used. More...

Functions

 check_and_get_user ($login, $pass)
 

Detailed Description

Various functions, not specific and widely used.

Freeder

Function Documentation

check_and_get_user (   $login,
  $pass 
)

Check that specified user exists, with the right password and returns its infos.

Parameters
$loginthe user login
$passthe user password (as provided by the user)
Returns
false if the user infos do not match.
A stdClass with attributes login and is_admin otherwise.