PHP to Oracle connection

A

Anonymous

Guest
I don't know connect() or pconnect(), but I use the oci_ functions to connect to oracle. e.g. (where fred is the service name on the specified machine, and 1521 is the port number the listener is running on)

Code:
$sDbName = "//192.168.120.123:1521/fred";
$aConn = oci_connect('scott', 'tiger', $sDbName, '');
 
Back
Top