File_Passwd_Authdigest::verifyPasswd()

File_Passwd_Authdigest::verifyPasswd() -- Verifiy password

Referentiesamenvatting

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

Beschrijving

Verify the password of an user in a certain realm.

Parameter

string $user

the user whose password should be verified

string $realm

the realm the user is in

string $pass

the plaintext password to verify

Return waarde

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

Tabel 38-1. Mogelijke PEAR_Error waarden

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

Note

Deze functie kan niet statisch worden aangeroepen.