pg_host

(PHP 3, PHP 4 , PHP 5)

pg_host --  Returns the host name associated with the connection

Popis

string pg_host ( resource connection )

pg_host() returns the host name of the given PostgreSQL connection resource is connected to.

Tiež pozri

pg_connect()
pg_pconnect()