Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17420 программистов и 1872 робота. Сейчас ищет 1791 программист ...
File_Passwd_Authdigest::changePasswd
Вернуться к: File_Passwd_Authdigest
File_Passwd_Authdigest::changePasswd
File_Passwd_Authdigest::changePasswd() – Change password
Synopsis
mixed File_Passwd_Authdigest::changePasswd ( string $user , string $realm , string $pass )
Change the password of a certain user in a specific realm.
This method in fact adds the user whith the new password after deleting the user.
Parameter
- string $user
-
the user whose password should be changed
- string $realm
-
the realm the user is in
- string $pass
-
the new plaintext password
Return value
Returns TRUE on success, PEAR_Error on failure.
Error Code | Summary |
---|---|
FILE_PASSWD_E_USER_NOT_IN_REALM | user doesn't exist in the supplied realm |
FILE_PASSWD_E_INVALID_CHARS | user or realm contains illegal characters |
Note
This function can not be called statically.
Вернуться к: File_Passwd_Authdigest