require_once 'File/Passwd/Authbasic.php';
mixed File_Passwd_Authbasic::staticAuth (string $file, string $user, string $pass, string $mode)
mixed File_Passwd_Authbasic::staticAuth
Static user authentication.
path to passwd file
user to authenticate
plaintext password
des, sha or md5
Returns TRUE if authenticated, FALSE if not or PEAR_Error on failure.
Table 37-1. Possible PEAR_Error values
This function should be called statically.