Home > PHP > Function > > dbplus_resolve()

dbplus_resolve()

dbplus_resolve - Resolve host information for relation

Syntax

array dbplus_resolve (string $relation_name)

Arguments

  • relation_name - The relation name.

Description

dbplus_resolve() will try to resolve the given relation_name and find out internal server id, real hostname and the database path on this host.

Version

PHP 4 <= 4.1.0, PECL dbplus >= 0.9

Return value

Returns an array containing these values under the keys sid, hostand host_pathor FALSE on error.