PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
mixed File_Passwd_Unix::verifyPasswd (string $user, string $pass)
mixed File_Passwd_Unix::verifyPasswd
Verify the password of a certain user.
the user whose password should be verified
the password to verify
Returns TRUE if passwords equal, FALSE if they don't or PEAR_Error on failure.
Table 37-1. Possible PEAR_Error values
This function can not be called statically.