Has anyone tried with pear-DB with Oracle9i.
I succeed to make the connection after I modified the oci8.php file as follow
$user = $dsninfo['username'];
$pw = $dsninfo['password'];
$hostspec = $dsninfo['hostspec'];
$dbdata = $dsninfo['database'];
$desc = "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=".$hostspec.")(PORT=".$dsninfo['port']."))(CONNECT_DATA=(SERVICE_NAME=".$
dbdata.".".$hostspec.")))";
$connect_function = $persistent ? 'OCIPLogon' : 'OCILogon';
/*if ($hostspec) {
$conn = @$connect_function($user,$pw,$hostspec);
} elseif ($user || $pw) {
$conn = @$connect_function($user,$pw);
} else {
$conn = false;
}
*/
if (isset($dbdata)){
$conn = @$connect_function($user,$pw,$desc);
}
anyone that is interested can try as above, but I want to ask is there any new updated or edited version of pear-DB so that I no need to modified the code to make the connection?