mysqli_get_host_info
(PHP 5)
mysqli_get_host_info(no version information, might be only in CVS)
mysqli->host_info -- Returns a string representing the type of connection usedOpis
Procdural style:
string mysqli_get_host_info ( mysqli link )Object oriented style (property):
class mysqli {string host_info
}
The mysqli_get_host_info() function returns a string
describing the connection represented by the link
parameter is using (including the server host name).
Parametry
link
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
Przykłady
Przykład 2. Procedural style
|
Powyższy przykład wyświetli:
Host info: Localhost via UNIX socket |
Poprzedni | Spis treści | Następny |
mysqli_get_client_version | Początek rozdziału |