Re: Cannot connect to remote postgres using php
Archana K N <[email protected]> Mon, 30 Apr 2012 23:40:33 +0530
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <CACa6=i0-OoXeH-AXq0Xje2KC6w0_HuRFwU4fa6KP7T-vamAwSQ@mail.gmail.com> |
--e0cb4efe2af2cd8c1804bee95e2b
Content-Type: text/plain; charset=ISO-8859-1
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=postgres
password=postgresql");
'
--
-------------------
regards
archana
--------------------
--e0cb4efe2af2cd8c1804bee95e2b
Content-Type: text/html; charset=ISO-8859-1
<br><br><div class="gmail_quote">I host pgsql servers on both machines.<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EL" link="blue" vlink="purple"><div><div class="im">
<div>
</div>
</div></div>
</div>
</blockquote></div><div class="gmail_quote">the pph code is like this</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">'</div><div class="gmail_quote">
<br></div><div class="gmail_quote">$conn=pg_connect("host=10.162.19.3 port=5432 dbname=postgres user=postgres password=postgresql");</div><div class="gmail_quote"><br></div><div class="gmail_quote">'</div><br>
<br clear="all"><div><br></div>-- <br>-------------------<br>regards<br>archana<br>--------------------<br>
--e0cb4efe2af2cd8c1804bee95e2b--