|
(PECL)
maxdb_get_host_info(no version information, might be only in CVS)
maxdb->get_host_info -- Returns a string representing the type of connection usedProcdural style:
string maxdb_get_host_info ( resource link )Object oriented style (property):
class maxdb {The maxdb_get_host_info() function returns a string describing the connection represented by the link parameter is using.
Example 2. Procedural style
|
The above examples would produce the following output:
Host info: localhost |
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 18:00:21