Hi
I got a problem connecting to ms sql server 2000 from php using odbc.
My server tech installed for me freetds...
Here is what I have :
Error message :
Warning: odbc_connect() [function.odbc-connect]: SQL error: [FreeTDS]
Read from SQL server failed., SQL state 08S01 in SQLConnect in...
DSN in odbc.conf :
[MSSQL]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Description = MSSQL
Trace = No
Server = 208.99.194.130
Database = ProWagSys
Port = 1433
Php code :
putenv('ODBCINI=/....Path..../odbc.conf');
$username="xxxx";
$password="xxxxxxxxxxxx";
$sqlconnect=odbc_connect("MSSQL",$username,$passwo rd);
The path to odbc.conf is right, username & password too, no problem there.
Please help me, starting to make me crazy
Guy