From: Jean-Michel POURE <jm.poure@freesurf.fr>
To: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: pgsql-admin@postgresql.org
Subject: Re: PHP ODBC conflict
Date: Fri, 1 Mar 2002 15:04:40 +0100
Message-ID: <200203011404.g21E4eLx001207@www1.translationforge> (raw)
In-Reply-To: <E16gn4w-0000et-00@stan.ringways.co.uk>
References: <E16gn4w-0000et-00@stan.ringways.co.uk>
Le Vendredi 1 Mars 2002 14:28, Gary Stainburn a écrit :
> Unfortunately, a side effect is that the PHP loses it's connection and
> returns a 'not valid handle' error message.
PostgreSQL odbc works perfectly. We cannot garantee PHP odbc interface works
as well... But there is a solution :
PHP supports native connexions to PostgreSQL which is the recommended way.
Most users choose native connexions from PHP because they :
- are better supported,
- have better performance.
If you would like to connect to various databases using PHP, choose an
abstraction layer. There are many available for PHP : ADODB (ADO port under
PHP), PEARDB (http://pear.php.net) available from PHP cvs, etc...
Best regards,
Jean-Michel POURE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jm.poure@freesurf.fr, gary.stainburn@ringways.co.uk
Subject: Re: PHP ODBC conflict
In-Reply-To: <200203011404.g21E4eLx001207@www1.translationforge>
References: <E16gn4w-0000et-00@stan.ringways.co.uk> <200203011404.g21E4eLx001207@www1.translationforge>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox