i have message error when try to use ODBC client access driver from PHP to connect as400 ... here is the message
"
Warning: odbc_connect(): SQL error: [IBM][Client Access ODBC Driver (32-bit)][DB2/400 SQL]Communication link failure. COMM RC=0x5, SQL state 08S01 in SQLConnect in c:\inetpub\ on line 4
Couldn't make a connection!
"
and here is php script
"
<?php
// create connection
$connection = odbc_connect
("ito200","EDP11","WOLVERINE"
;
// test connection
if (!$connection) {
echo "Couldn't make a connection!";
exit;
}
// create SQL statement
$sql = "SELECT * FROM TSEKSI";
// prepare SQL statement
$sql_result = odbc_exec($connection,$sql);
// format result in HTML table
odbc_result_all($sql_result,"border=0"
;
// free resources and close connection
odbc_free_result($sql_result);
odbc_close($connection);
?>
"
for information i use win xp with iis v5, PHP v4.3, as400 with os v3r2
any one can help
thx for hlp
"
Warning: odbc_connect(): SQL error: [IBM][Client Access ODBC Driver (32-bit)][DB2/400 SQL]Communication link failure. COMM RC=0x5, SQL state 08S01 in SQLConnect in c:\inetpub\ on line 4
Couldn't make a connection!
"
and here is php script
"
<?php
// create connection
$connection = odbc_connect
("ito200","EDP11","WOLVERINE"

// test connection
if (!$connection) {
echo "Couldn't make a connection!";
exit;
}
// create SQL statement
$sql = "SELECT * FROM TSEKSI";
// prepare SQL statement
$sql_result = odbc_exec($connection,$sql);
// format result in HTML table
odbc_result_all($sql_result,"border=0"

// free resources and close connection
odbc_free_result($sql_result);
odbc_close($connection);
?>
"
for information i use win xp with iis v5, PHP v4.3, as400 with os v3r2
any one can help
thx for hlp