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])

Warning

This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.

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()