Subject Re: [firebird-support] unixODBC driver - newbie tearing his hair out!
Author Milan Babuskov
Nick Critten wrote:
>>Why not use the native interbase functions of PHP ?
>
> Long Story, but Recompiling PHP on this box is more trouble than its
> worth.

You don't have to recompile PHP, you can simply compile the needed
interbase.so file and add it to your "extensions" directory. You can
even do the compilation on another computer.

> There don't seem to be any PHP RPMs with Interbase support compiled in
> for Fedora Core 4 so that leaves me with the ODBC route.
>
> Plus the Database I need to connect to is likely to change to Oracle or
> MS-SQL in the near future, and I'd rather write the code so it'll work
> with them all. If and when it happens.

You should use ADOdb or ezSQL then. Those are wrappers around native
interfaces, so you can switch between DBMSes easily.

I suggest you join firebird-php group if you wish to get more info about
all this.


--
Milan Babuskov
http://njam.sourceforge.net
http://www.flamerobin.org