Alritey.
I've scoured the net all day for details in this problem. I've created a system DSN on the web server, which links to an Oracle database on another server. During the DSN setup, the connection tests successfully.
When I try to connect using odbc_connect, I get the following message:
Warning: SQL error: [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed, SQL state IM004 in SQLConnect in.... etc.
I've read up on it, and found that YES my temp directory has write permissions for IUSR_, YES c:\oracle\ora92 has write permissions, YES I installed all the client tools as administrator. Other than that, I can't see any reason why this shouldn't be working. The syntax I'm using for odbc_connect is:
odbc_connect($dsn,$username,$password)
which works fine for ODBC data sources pointing at SQLServer2000 databases. Does ODBC for Oracle require cursor_type or a different method of passing dsn name/username/password?
any help ASAP!! would be appreciated.