fbsql_hostname
(PHP 4 >= 4.0.6, PHP 5)
fbsql_hostname — Get or set the host name used with a connection
Описание
string fbsql_hostname
( resource $link_identifier
[, string $host_name
] )
Gets or sets the host name used with a connection.
Параметри
- link_identifier
-
Идентификатор на връзката към FrontBase, върнат от fbsql_connect() или fbsql_pconnect().
Ако е незадължителна и не е указана, функцията ще се опита да намери отворена връзка към сървъра FrontBase и ако не намери такава ще се опита да създаде нова, както когато fbsql_connect() е била извикана без аргументи.
- host_name
-
If provided, this will be the new connection host name.
Връщани стойности
Returns the current host name used for the connection.
Вж. също
- fbsql_username() - Get or set the username for the connection
- fbsql_password() - Get or set the user password used with a connection
There are no user contributed notes for this page.
