I host pgsql servers on both machines.>> the pph code is like this
'
$conn=pg_connect("host=10.162.19.3 port=5432 dbname=postgres user=postgrespassword=postgresql");
-- -------------------regardsarchana--------------------