52 |
$oTest = new ODBCSocketServer; |
$oTest = new ODBCSocketServer; |
53 |
|
|
54 |
//Set the Hostname, port, and connection string |
//Set the Hostname, port, and connection string |
55 |
$oTest->sHostName = "netmon.pliva.hr"; |
$oTest->sHostName = "tkcpdc.pliva.hr"; |
56 |
$oTest->nPort = 9628; |
$oTest->nPort = 9628; |
57 |
$oTest->sConnectionString = "DSN=imenik;UID=administrator;PWD=;"; |
$oTest->sConnectionString = "DSN=Imenik;UID=dpavlinusic;PWD=dream;"; |
58 |
|
|
59 |
//now exec the SQL |
//now exec the SQL |
60 |
$sResult = $oTest->ExecSQL("SELECT * FROM kontakti"); |
$sResult = $oTest->ExecSQL("SELECT * FROM kontakti"); |