Received: from www1.translationforge (unknown [212.11.36.58]) by postgresql.org (Postfix) with ESMTP id 1ED46475B58 for ; Fri, 1 Mar 2002 09:04:40 -0500 (EST) Received: from there ([192.168.1.102]) by www1.translationforge (8.12.1/8.12.1) with SMTP id g21E4eLx001207; Fri, 1 Mar 2002 15:04:41 +0100 Message-Id: <200203011404.g21E4eLx001207@www1.translationforge> Content-Type: text/plain; charset="iso-8859-1" From: Jean-Michel POURE Reply-To: jm.poure@freesurf.fr Organization: Translationforge To: Gary Stainburn , pgsql-admin@postgresql.org Subject: Re: PHP ODBC conflict Date: Fri, 1 Mar 2002 15:04:40 +0100 X-Mailer: KMail [version 1.3.1] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200203/3 X-Sequence-Number: 3538 Le Vendredi 1 Mars 2002 14:28, Gary Stainburn a =E9crit : > 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 work= s=20 as well... But there is a solution : PHP supports native connexions to PostgreSQL which is the recommended way.= =20 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=20 abstraction layer. There are many available for PHP : ADODB (ADO port under= =20 PHP), PEARDB (http://pear.php.net) available from PHP cvs, etc... Best regards, Jean-Michel POURE