Bug #12328: OCIStmtExecute: ORA-01460

From: Date: Tue, 24 Jul 2001 06:51:45 +0000
Subject: Bug #12328: OCIStmtExecute: ORA-01460
Groups: php.dev 
Request: Send a blank email to php-dev+get-60828@lists.php.net to get a copy of this message
From: chand51@c4.com Operating system: linux PHP version: 4.0.6 PHP Bug Type: OCI8 related Bug description: OCIStmtExecute: ORA-01460 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 -- Edit bug report at: http://bugs.php.net/?id=12328&edit=1

« previous php.dev (#60828) next »