|
(PHP 5)
mysqli_get_host_info(no version information, might be only in CVS)
mysqli->get_host_info -- Returns a string representing the type of connection usedProcdural style:
string mysqli_get_host_info ( mysqli link )Object oriented style (property):
class mysqli {The mysqli_get_host_info() function returns a string describing the connection represented by the link parameter is using (including the server host name).
Example 2. Procedural style
|
The above example will output:
Host info: Localhost via UNIX socket |
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 18:00:22