Hi we are trying to connect via ODBC to a Timberline (Accounting Package) using Apache and PHP
This is our code and results, I have searched hard and wide and there is lots of talk about this but no answers. Any help appreciated.
This is our PHP code
<?
#test Timberline odbc
echo "test odbc";
$dsn="DSN=Timberline Test Database;DRIVER=Timberline Data;DBQ=\\ServerName\Timberline\Data\Copy Test";
$dbhandle = odbc_connect($dsn,"","")or die("<br>no tl connection");
echo "<br>tl: $dbhandle";
?>
Result
test odbc
Warning: odbc_connect() [function.odbc-connect]: SQL error: [TimberlineODBC][TimberlineODBCEngine ODBC Driver][DRM File Library]Drive or directory unavailable [IO-WIN 3] Screen\OD.scr, SQL state S1000 in SQLConnect in C:\xampp\htdocs\Timberline.php on line 8
no tl connection
This is our code and results, I have searched hard and wide and there is lots of talk about this but no answers. Any help appreciated.
This is our PHP code
<?
#test Timberline odbc
echo "test odbc";
$dsn="DSN=Timberline Test Database;DRIVER=Timberline Data;DBQ=\\ServerName\Timberline\Data\Copy Test";
$dbhandle = odbc_connect($dsn,"","")or die("<br>no tl connection");
echo "<br>tl: $dbhandle";
?>
Result
test odbc
Warning: odbc_connect() [function.odbc-connect]: SQL error: [TimberlineODBC][TimberlineODBCEngine ODBC Driver][DRM File Library]Drive or directory unavailable [IO-WIN 3] Screen\OD.scr, SQL state S1000 in SQLConnect in C:\xampp\htdocs\Timberline.php on line 8
no tl connection