require_once 'File/Passwd/Authdigest.php';
mixed File_Passwd_Authdigest::staticAuth (string $file, string $user, string $pass, string $realm)
mixed File_Passwd_Authdigest::staticAuth
Static user authentication.
path to passwd file
user to authenticate
plaintext password
the realm the user should be in
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.