Re: PEAR DB with odbc under windows using Access 2000

From: Date: Thu, 06 Feb 2003 23:14:01 +0000
Subject: Re: PEAR DB with odbc under windows using Access 2000
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3641@lists.php.net to get a copy of this message
FYI: I had a look at the source code in c:/php/pear/DB/odbc.php and found that the hostname was being passed as the first argument to odbc_connect(). The php manual clearly states that the first argument is the odbc datasource name (dsn), *not* the hostname. I don't understand why the PEAR guys have done this. I can only assume that they did it intentionally but I have no idea why. I've temporarily modified my odbc.php until I can find out how I'm supposed to use it as intended. I suppose there is a very remote possibility that this is a bug that has slipped through testing. Anyway, thank goodness for open-source :)

« previous php.pear.general (#3641) next »