Was mach ich falsch???
Ich bekomme beim ausführen folgenden Codes die Fehlermeldung:
Fatal error: Call to undefined function: ocifreedescriptor()
-- muß ich diese extra definieren??
<?
$conn = OCILogon($ora_user,$ora_pass,$ora_db);
$lob = OCINewDescriptor($conn, OCI_D_LOB);
$stmt = OCIParse($conn,"insert into $table (id, the_blob) values('5544', EMPTY_BLOB()) returning the_blob into :the_blob");
OCIBindByName($stmt, ':the_blob', &$lob, -1, OCI_B_BLOB);
OCIExecute($stmt);
if($lob->savefile($lob_upload)){
OCICommit($conn);
echo "Blob successfully uploaded\n";
}else{
echo "Couldn't upload Blob\n";
}
OCIFreeDescriptor($lob);
OCIFreeStatement($stmt);
OCILogoff($conn);
?>