$db = "(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)
(HOST = 192.168.1.2)(PORT = 1521)))
(CONNECT_DATA =(SERVER = DEDICATED)(SID = orcl)))";
$conn = oci_connect('aaa', 'bbb', $db);
$s = oci_parse($conn, 'select * from CLIACCT ');
oci_execute($s);
while (($row = oci_fetch_array($s, OCI_ASSOC)) != false ) {
foreach ($row as $item) {
print $item;
}
}
I'am connect other computer our LAN 192.168.1.2
my system IIS(WinXP) & PHP 5.2 error
Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed.
There is something wrong with your system -
please check that PATH includes the directory with Oracle Instant Client libraries
in C:Inetpubwwwrootoracletest_2.php on line 111
But I am move my code above XAMP apache run OK. I don't understand why PHP & IIS error, could you help me ?
How do I to something on PHP & IIS ? Thank you very much.