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.


Смотрите также


Описание на ru2.php.net
Описание на php.ru