Hi! Please excuse my poor English.
I have this error in PHP 4.2.3 with oracle 8.1.7:
[14-Jul-2005 16:25:36] PHP Warning: OCI8 Recursive call!
in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50
[14-Jul-2005 16:25:36] PHP Warning: OCI8 Recursive call!
in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50
[14-Jul-2005 16:25:37] PHP Warning: OCI8 Recursive call!
in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50
[14-Jul-2005 16:25:38] PHP Warning: OCI8 Recursive call!
in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50
conecta_bd.php scripts :
session_start();
if((!isset($SESSION))&&(!isset($flag))) {
echo"
<SCRIPT LANGUAGE='JavaScript'>
<!--
top.location = 'https://www.puc.cl/pucmatico';
//-->
</SCRIPT>";
exit;
} # fin del if ...
clearstatcache();
$Dir_app = "/ariadna/cgi-bin/dara/pucmatico";
include_once ($Dir_app.'/programa/libs/decrypt.php');
$User = "web_pucmat";
$Pass = file($Dir_app."/config/clave1.php");
$User_r = "pucmat";
$Pass_r = file($Dir_app."/config/clave2.php");
$yyy=decrypt($key,$Pass[0]);
$xxx=decrypt($key,$Pass_r[0]);
$db = "(DESCRIPTION_LIST=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1705))
(CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
)
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1706))
(CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
)
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1707))
(CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
)
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1708))
(CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
)
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1709))
(CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
)
)";
# Se agrego esta linea para tener debug de las conexiones Oracle
# 20050724 fgc@xxxxxx
#OCIInternalDebug(1);
$Conexion = OCILogon($User,$yyy,$db);
$Consulta = OCIParse ($Conexion, "SET ROLE $User_r IDENTIFIED BY
\"$xxx\" ");
OCIExecute($Consulta);
OCIFreeStatement($Consulta);
?>
Any ideas for this?
--
Ivonne Trejo Silva
mailto:itrejo@xxxxx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php