|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-13 08:52 UTC] thies@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 16:00:01 2025 UTC |
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