FrontBase Функции
PHP Manual

fbsql_hostname

(PHP 4 >= 4.0.6, PHP 5)

fbsql_hostnameGet 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.

Вж. също


FrontBase Функции
PHP Manual