Gregory DG Posted November 7, 2008 Share Posted November 7, 2008 What I have: Win XP (SP3), MS IIS4.0, PHP 5.2.6, MS ODBC connection setup to the Access DB (and works when downloading into Excel.) Here's my code: $link = odbc_connect("PROJ") or die ("Unable to connect to database."); Jeez, I can't even get past this first line. It won't let me connect. Is there some extension I need to install? The only one I've seen in setup was for php_pdo_odbc.dll and that always gives me the "PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'php_pdo_oci8.dll' in Unknown on line 0" error. Can anyone offer some help? Thanks. Link to comment https://forums.phpfreaks.com/topic/131781-php-to-odbc-to-access-should-be-easy/ Share on other sites More sharing options...
MatthewJ Posted November 7, 2008 Share Posted November 7, 2008 You did setup a DSN correct? I have forgotten from time to time Link to comment https://forums.phpfreaks.com/topic/131781-php-to-odbc-to-access-should-be-easy/#findComment-684561 Share on other sites More sharing options...
Gregory DG Posted November 7, 2008 Author Share Posted November 7, 2008 Currently got it set under "User DSN" should it be under one of the other tabs? (System or File?) Link to comment https://forums.phpfreaks.com/topic/131781-php-to-odbc-to-access-should-be-easy/#findComment-684605 Share on other sites More sharing options...
nostrodamned Posted November 8, 2008 Share Posted November 8, 2008 I use system dsn Link to comment https://forums.phpfreaks.com/topic/131781-php-to-odbc-to-access-should-be-easy/#findComment-685510 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.