From: Peter Harvey <pharvey@codebydesign.com>
To: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: unixODBC - php
Date: Sun, 06 Jun 1999 14:26:34 +0000
Message-ID: <375A8519.7618659F@codebydesign.com> (raw)
----- The following addresses had permanent fatal errors -----
<postgresql-interfaces@postgresql.org>
----- Transcript of session follows -----
... while talking to postgresql.org.:
>>> RCPT To:<postgresql-interfaces@postgresql.org>
<<< 550 <postgresql-interfaces@postgresql.org>... User unknown
550 <postgresql-interfaces@postgresql.org>... User unknown
>
> Now, if I can only get it working with php-3.0.8 :) That would be even
> nicer..
> compiling php-3.0.8 with the iodbc support and linking in the odbc lib that
> comes with unixodbc
> gives me this result on odbc_connect.. Doesn't happen when I use iodbc,
> most likely a problem with php-3.0.8..
>
George,
Ok. I am not familiar with php stuff so you will have to help me out.
The unixODBC DM and iODBC are not, yet, 100% compatible. The principle concern
here may be different data type declares in the header files (I am not sure
this is the problem). However; it seems that there may be some iODBC specific
stuff in php. I suggest tracking down the iODBC specific stuff (probably just
a few lines) and seeing if it uses i*.h includes (isqlext.h etc). If so, then
you may have to put in an option to compile for UNIXODBC and set the includes
(and whatever code changes there may be) for unixODBC.
I found, with the PostgreSQL ODBC driver that I almost could use the WIN32...
except for the login dialog code (and a few other UNIX include specifics)....
because unixODBC is very compatible with Windows (ie uses standard ODBC include
files and supports calls such as SQLGetPrivateProfileString()).
Please advise if you feel that unixODBC needs to change in some way to get php
working.
Peter Harvey
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: pharvey@codebydesign.com
Subject: Re: unixODBC - php
In-Reply-To: <375A8519.7618659F@codebydesign.com>
* 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