$oraconn = OCILogon("women","women","women");
if ($oraconn <= 0)
{
echo "";
OCILogOff($oraconn);
exit;
}
$strSql="select * from women_zjsxx where zodiac='$zodiac' and constellation='$constellation' and blood='нч' and zodiac1='нч' and constellation1='нч' and blood1='нч'";
$hstrSql = OCIParse($oraconn,$strSql);
$hret = ociexecute($hstrSql);
$hret=ocifetch($hstrSql);
if (ociresult($hstrSql,"PATHNAME")=='0'){$pname="";
}else{$pname=ociresult($hstrSql,"PATHNAME")."/";}
$fname=substr(ociresult($hstrSql,"FILENAME"),0,strlen(ociresult($hstrSql,"FILENAME"))-3)."php";
OCILogOff($oraconn);
echo "";
?>