fbsql_database_password
(PHP 4 >= 4.0.6, PHP 5)
fbsql_database_password -- Sets or retrieves the password for a FrontBase databaseOpis
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.
Parametry
link_identifier
Identyfikator połączenia FrontBase zwrócony przez fbsql_connect() lub fbsql_pconnect().
Jeśli link jest opcjonalny i nie zostanie podany, funkcja spróbuje znaleźć otwarte połączenie do serwera FrontBase i jeśli takiego połączenia nie znajdzie, spróbuje utworzyć je tak jak fbsql_connect() byłaby wywołana bez argumentów
database_password
The database password, as a string. If given, the function sets the database password for the specified link identifier.
Przykłady
Przykład 1. fbsql_create_clob() example
|
Poprzedni | Spis treści | Następny |
fbsql_data_seek | Początek rozdziału |