PHP Connect auf DB2 ohne Node oder Database Directory

<pre><?php $conn_string = „DRIVER={IBM DB2 ODBC DRIVER – DB2COPY1};DATABASE=DB;HOSTNAME=SRV;PORT=50300;PROTOCOL=TCPIP;UID=User;PWD=PW;“; $connect = odbc_connect($conn_string, “, “); $query = „SELECT * from DWH.LIEFERANT“; // perform the query $result = odbc_exec($connect, $query); while($erg=odbc_fetch_array($result)) { print_r($erg); } ?>