fbsql_database_password

(PHP 4 >= 4.0.6)

fbsql_database_password --  Sets or retreives the password for a FrontBase database

Description

string fbsql_database_password (resource link_identifier, string [database_password])

Returns: The database password for the database represented by the link identifier.

fbsql_database_password() sets and retreives the database password for the current database. if the second optional parameter is given the function sets the database password for the database on the server that's associated with the specified link identifier. If no link identifier is specified, the last opened link is assumed. If no link is open, the function will try to establish a link as if fbsql_connect() was called, and use it.

See also: fbsql_connect() and fbsql_pconnect().