fbsql_hostname
(PHP 4 >= 4.0.6, PHP 5)
fbsql_hostname — Get or set the host name used with a connection
Descrierea
string fbsql_hostname
( resource $link_identifier
[, string $host_name
] )
Gets or sets the host name used with a connection.
Parametri
- link_identifier
-
Un identificator de legătură FrontBase întors de fbsql_connect() sau fbsql_pconnect().
Dacă nu este specificat, funcţia va încerca să găsească o legătură deschisă către serverul FrontBase şi dacă nu este găsită nici o astfel de legătură, se va încerca crearea uneia, ca şi la apelarea fbsql_connect() fără argumente.
- host_name
-
If provided, this will be the new connection host name.
Valorile întroarse
Returns the current host name used for the connection.