File_Passwd_Authbasic::save

File_Passwd_Authbasic::save() – Save changes

Synopsis

mixed File_Passwd_Authbasic::save ( )

Описание

Apply changes and rewrite AuthUserFile.

Return value

Returns TRUE on success, PEAR_Error on failure.

Possible PEAR_Error values
Error Code Summary
FILE_PASSWD_E_DIR_NOT_CREATED directory in which the passwd file should reside couldn't be created
FILE_PASSWD_E_FILE_NOT_OPENED passwd file couldn't be opened in write mode
FILE_PASSWD_E_FILE_NOT_LOCKED passwd file couldn't be locked exclusively
FILE_PASSWD_E_FILE_NOT_UNLOCKED passwd file couldn't be unlocked
FILE_PASSWD_E_FILE_NOT_CLOSED passwd file couldn't be closed

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ