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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chand51 at c4 dot com
New email:
PHP Version: OS:

 

 [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: Tue Apr 23 21:01:31 2024 UTC