Just FYI, but PHP can be used to talk to a remote postgres server using
native postgres calls, i.e.:
$conn = pg_connect("host=some.host.com user=me password=i db=test");
pg_exec($conn, "SELECT * FROM pg_class");
pg_close($conn);
Michael Fork - CCNA - MCP - A+
Network Support - Toledo Internet Access - Toledo Ohio
On Tue, 6 Mar 2001, Chris wrote:
>
> >Is it really necessary to use PHP and ODBC? PHP has a native postgresql
> >interface I believe...
>
> It sounds like the postgres server is a different machine to the web
> server, so ODBC is needed to communicate between the 2..
> I have no answer for that unfortunately :(
> This url *might* be of use - http://www.php.net/manual/en/ref.odbc.php
>
> Let us know how you go & what you did :)
>
> >>Hi,
> >>We are currently running the following configuration on our server:
> >>Linux Red Hat 7.0
> >>PostgreSQL 7.1beta4-1
> >>PHP 4.0.1pl2
> >>I need to add some RPM package (or perhaps an apache module) to enable PHP
> >>to access PostgreSQL via ODBC.
> >>In order to have PostgreSQL native access support we installed package
> >>'php-pgsql-4.0.1pl2-9.i386.rpm'.
> >>Is there some similar RPM package to enable ODBC access in PHP4.0.1pl2?
> >>If not, how should I procceed?
> >>TIA,
> >>Paulo
>
> ------------------------
> Chris Smith
> http://www.squiz.net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>