Hi to all,
we try to connect to sapdb from a php4-script.


Wenn I start the script manually with

php test1.php

there are no problems.

But if I start it from IIS4 I got an odbc_connect-Error 5 with SQL-State IM003.
I use the sapdb-7.4-odbc to connect a sapdb-7.3-server.

Here is my script :

<?php
$connect = odbc_connect("DSNNAME", "USERNAME", "PASSWORD");
if ($connect == 0)
{
 ...
}

...
?>

The odbc_connect line give that error. I'm not sure if this error is a sapdb-specific or a general iis4-error.

Thanks
Tom

Reply via email to