,
address, and sid. In other words, ORCL is shorthand notation for all of the
TCP/IP info and then some.
I hope this makes sense,
Anthony
-Original Message-
From: sang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 9:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] error ORA
Sang,
Since you're trying to connect from another computer to the Oracle server,
you probably need to specify a connect string in the OCILogon command.
OCILogon('system', 'manager', $connect_string);
What's the value for $connect_string? It depends on how you've set-up your
Oracle networking.
I have read some doc.
$connect_string is set to equal from tnsnames.ora.
$connect_string=(DESCRIPTION=(ADDRESS = (PROTOCOL = TCP)(HOST =
192.168.1.1)(PORT = 1521))(CONNECT_DATA = (SID = ORCL)));
I can connect my local oracle server before when using
OCILogon(system,manager);
But now , i