Heterogenous Environnement

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
GOXTECH
Forum Newbie
Posts: 1
Joined: Sun Nov 27, 2005 1:21 pm

Heterogenous Environnement

Post by GOXTECH »

Today I have been presented with a new difficulty. Our web server is a Novell box running Apache. Call it a LAMP if you want. I have been requested to develop a PHP application accessing some data in the accounting dep. database. Problem is, the accounting database is a weird, non-relational database called Acomba and is only accessible trough ODBC and DSN under a Win2003 server.

To be honest, I’m stumped on how I’m going to make my php apps "talk" to our windows box ODBC.

I understand that my problem is not “Pure PHP” but if any of you got idea on how to accomplish this or can point me to the right website/article/forum I would really help me.

Thank you for your time.
:D
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: Heterogenous Environnement

Post by Roja »

GOXTECH wrote: To be honest, I’m stumped on how I’m going to make my php apps "talk" to our windows box ODBC.
http://us2.php.net/manual/en/ref.uodbc.php

Or, if you prefer db-abstraction, and a feature-rich library, use adodb (which supports ODBC as well):

http://adodb.sourceforge.net/
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Roja has pointed you in the right direction. ODBC isn't really a big deal. Check out the documentation and if it still gives you problems, post back. :)

Cheers
Post Reply