pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: jm.poure@freesurf.fr
To: pgsql-admin@postgresql.org
Subject: Re: PHP ODBC conflict
Date: Fri, 1 Mar 2002 14:40:07 +0000
Message-ID: <E16goCS-00018q-00@stan.ringways.co.uk> (raw)
In-Reply-To: <200203011404.g21E4eLx001207@www1.translationforge>
References: <E16gn4w-0000et-00@stan.ringways.co.uk>
	<200203011404.g21E4eLx001207@www1.translationforge>

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     



view thread (5+ messages)  latest in thread

Message-ID: <E16goCS-00018q-00@stan.ringways.co.uk>
Permalink:  ../E16goCS-00018q-00@stan.ringways.co.uk/
Also on:    postgresql.org/message-id/E16goCS-00018q-00@stan.ringways.co.uk

 · 

reply

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: gary.stainburn@ringways.co.uk, jm.poure@freesurf.fr
  Subject: Re: PHP ODBC conflict
  In-Reply-To: <E16goCS-00018q-00@stan.ringways.co.uk>
  References: <E16gn4w-0000et-00@stan.ringways.co.uk> <200203011404.g21E4eLx001207@www1.translationforge> <E16goCS-00018q-00@stan.ringways.co.uk>

* 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