(PHP 5, PHP 7)
fbsql_set_password — Change the password for a given user
$link_identifier
, string $user
, string $password
, string $old_password
) : bool
Changes the password for the given user.
link_identifierA FrontBase link identifier returned by fbsql_connect() or fbsql_pconnect().
If optional and not specified, the function will try to find an open link to the FrontBase server and if no such link is found it will try to create one as if fbsql_connect() was called with no arguments.
userThe user name.
passwordThe new password to be set.
old_passwordThe old password to be replaced.
Returns TRUE on success or FALSE on failure.