Page 1 of 1

Using pdo_odbc?

Posted: Fri Mar 07, 2008 6:42 am
by PhpDog
As I'm having stability problems with standard odbc connection, I thought that I'd take a look at pdo_odbc.

I'm connecting to a proprietary database (Sage Line 100 accounts) using their odbc driver. My dsn is setup: name SageLine132, user: Fred, password: letmein on my development box. I works fine with Excel.

Can someone give me a pointer of how to connect to this with php via pdo_odbc please? This is new to me.

Re: Using pdo_odbc?

Posted: Fri Mar 07, 2008 9:47 pm
by yacahuma
you can also try php adodb. Are you using unix or windows?

http://phplens.com/adodb/supported.databases.html

Re: Using pdo_odbc?

Posted: Sat Mar 08, 2008 8:44 am
by PhpDog
yacahuma wrote:you can also try php adodb. Are you using unix or windows?

http://phplens.com/adodb/supported.databases.html
I'm using Windows XP Pro in this case.

Many thanks for the link.