|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-07-14 17:59 UTC] minetto at unochapeco dot rct-sc dot br
Description: ------------ When i use the link : http://www.unochapeco.edu.br/biblioteca/php/pbasbi2.php?codAcervo=115621 the page is not find. If i use : http://www.unochapeco.edu.br/biblioteca/php/pbasbi2.php?codacervo=115621 with (codacervo=) works. My info : PHP Version 4.3.3RC2-dev Conectiva Linux 9.0 Oracle client 9.2 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 22:00:02 2025 UTC |
I find where is the problem. In code : $db=ocilogon("user","pass","db"); $curs = OCINewCursor($db); $cod_empresa = 15; $codAcervo = 154173; $stmt = OCIParse($db,"begin sp_per_consulta_obra($cod_empresa ,$codAcervo,:reg_sql);end;"); ocibindbyname($stmt,":reg_sql",&$curs,-1,OCI_B_CURSOR); ociexecute($stmt); ociexecute($curs); if(OCIFetchInto($curs,&$reg_sql,OCI_ASSOC)) { echo "ok"; } else { echo "error"; } If i comment the line : $curs = OCINewCursor($db); the page is found. The error seems to be in OCINewCursor. My php version is php4-STABLE-200307142330, Oracle Client is 9.2, apache is apache-2.0.45-28790U90_2cl. Thanks