How to call Oracle8 stored procedures from PHP ?

admin

Administrator
Staff member
Hi:

How can i call an Oracle8 stored procedure in a php script.

I found this script,

$stmt = ociparse($conn, "BEGIN procedure(:param); end;");
ocibindbyname($stmt,"param",&$var,-1);
ociexecute($stmt);
ocifreestatement($stmt);
ocilogoff($conn);

but it does'nt work. It gives me the ORA-06550 error : "character set name is not recognized "

can you help me?

Thanks in advance !

Alejandro
 
Back
Top