File_Passwd_Authdigest::verifyPasswd()

File_Passwd_Authdigest::verifyPasswd() -- Verifiy password

Synopsis

mixed File_Passwd_Authdigest::verifyPasswd (string $user, string $realm, string $pass)

Описание

Verify the password of an user in a certain realm.

Параметр

string $user

the user whose password should be verified

string $realm

the realm the user is in

string $pass

the plaintext password to verify

Возвращаемое значение

Retruns TRUE if passwords equal, FALSE if they don't, or PEAR_Error on failure.

Таблица 38-1. Возможные значения PEAR_Error

Error CodeSummary
FILE_PASSWD_E_USER_NOT_IN_REALMthe specified user doesn't exist in the supplied realm

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ