require_once 'File/Passwd/Custom.php';
mixed File_Passwd_Custom::staticAuth (string $file, string $user, string $pass, array $opts)
mixed File_Passwd_Custom::staticAuth
Static user authentication.
path to passwd file
user to authenticate
plaintext password
A two element array containing the encryption function to use and the delimiting character: e.g. array('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.