PHP 5.6.14 is available


(PHP 4 >= 4.0.6, PHP 5)

fbsql_database_passwordSets or retrieves the password for a FrontBase database


string fbsql_database_password ( resource $link_identifier [, string $database_password ] )

Sets and retrieves the database password used by the connection. If a database is protected by a database password, the user must call this function before calling fbsql_select_db().

If no link is open, the function will try to establish a link as if fbsql_connect() was called, and use it.

This function does not change the database password in the database nor can it be used to retrieve the database password for a database.



Um identificador de link FrontBase retornado porfbsql_connect() ou fbsql_pconnect().

Se opcional e não especificado a função tentará localizar um link aberto ao um servidor FrontBase e se nenhum link for encontrado será tentado criar um como se fbsql_connect() fosse chamado sem argumentos.


The database password, as a string. If given, the function sets the database password for the specified link identifier.

Valor Retornado

Returns the database password associated with the link identifier.


Exemplo #1 fbsql_create_clob() example

    or die(
"Could not connect");
fbsql_database_password($link"secret db password");

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top