fbsql_hostname
(PHP 4 >= 4.0.6, PHP 5)
fbsql_hostname — Get or set the host name used with a connection
Descrição
string fbsql_hostname
( resource $link_identifier
[, string $host_name
] )
Gets or sets the host name used with a connection.
Parâmetros
- link_identifier
-
Um identificador de conexão FrontBase retornado por fbsql_connect() ou fbsql_pconnect().
Se opcional e não especificado, a função tentará encontrar uma conexão aberta para o servidor FrontBase server e se não for encontrada uma conexão dessa ela irá tentar criar uma como se fbsql_connect() fosse chamada sem argumentos
- host_name
-
If provided, this will be the new connection host name.
Valor Retornado
Returns the current host name used for the connection.