Received: from stan.ringways.co.uk (unknown [213.38.87.130]) by postgresql.org (Postfix) with ESMTP id AA8CF4761EE for ; Fri, 1 Mar 2002 09:40:49 -0500 (EST) Received: from gary.ringways.co.uk ([10.1.1.2] helo=there) by stan.ringways.co.uk with smtp (Exim 3.33 #2) id 16goCS-00018q-00; Fri, 01 Mar 2002 14:39:56 +0000 Content-Type: text/plain; charset="iso-8859-1" From: Gary Stainburn Organization: Ringways Garages Ltd To: jm.poure@freesurf.fr, pgsql-admin@postgresql.org Subject: Re: PHP ODBC conflict Date: Fri, 1 Mar 2002 14:40:07 +0000 X-Mailer: KMail [version 1.3.2] References: <200203011404.g21E4eLx001207@www1.translationforge> In-Reply-To: <200203011404.g21E4eLx001207@www1.translationforge> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-Archive-Number: 200203/4 X-Sequence-Number: 3539 Thanks for the comments, but I don't think that I made myself clear. I am connecting using the native PHP pg support. The only bit I'm using ODBC for is the Windows/Delphi stuff. BTW, the Delphi app can connect/disconnect as often as it wants, but one connection from Delphi stops the PHP working. Gary On Friday 01 March 2002 2:04 pm, Jean-Michel POURE wrote: > 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 -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000