Forum und email
fbsql_hostname

fbsql_hostname

(PHP 4 >= 4.0.6, PHP 5)

fbsql_hostname -- Get or set the host name used with a connection

Opis

string fbsql_hostname ( resource link_identifier [, string host_name] )

Gets or sets the host name used with a connection.

Parametry

link_identifier

Identyfikator połączenia FrontBase zwrócony przez fbsql_connect() lub fbsql_pconnect().

Jeśli link jest opcjonalny i nie zostanie podany, funkcja spróbuje znaleźć otwarte połączenie do serwera FrontBase i jeśli takiego połączenia nie znajdzie, spróbuje utworzyć je tak jak fbsql_connect() byłaby wywołana bez argumentów

host_name

If provided, this will be the new connection host name.

Zwracane wartości

Returns the current host name used for the connection.