php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12328 OCIStmtExecute: ORA-01460
Submitted: 2001-07-24 02:51 UTC Modified: 2002-04-13 08:52 UTC
From: chand51 at c4 dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
 [2001-07-24 02:51 UTC] chand51 at c4 dot com
On executing the code mentioned below, I get the following error:

"Warning: OCIStmtExecute: ORA-01460: unimplemented or unreasonable conversion requested in /home/guest/chan/code/orafuncall.php on line 13"

The code is written in php4 on linux(suse) as;
<?php
// trying oracle procedure call from php
// created on : 24-July-2001
 
$conn = ocilogon("user1", "user1pass", "");
$sid = "john@dummy";
$stmt = OCIParse( $conn, "begin passfunct( :sid);
                         end;" );
OCIBindByName ($stmt, ":sid", &$sid, 10 );
OCIExecute($stmt);
 
?>      


Or can anybody help me on how to call oracle functions(procedure) through php4.

from
-Chan

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 08:52 UTC] thies@php.net
see 

http://conf.php.net/oci2

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 16:01:32 2024 UTC