ID: 31386
Updated by: [EMAIL PROTECTED]
Reported By: maurice dot lacroix at wanadoo dot nl
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Windows 2000 Server
PHP Version: 5.0.3
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2005-01-03 11:19:03] maurice dot lacroix at wanadoo dot nl
Description:
------------
There is an error in the example code, where a file is upload into the
Oracle database and saved as a BLOB.
The line oci_execute($conn); should be replaced with
oci_commit($conn);.
Reproduce code:
---------------
if ($lob->savefile($lob_upload)){
oci_execute($conn); // here is the error
echo "Blob successfully uploaded\n";
}else{
echo "Couldn't upload Blob\n";
}
Expected result:
----------------
Blob successfully uploaded. The file should be upload into a BLOB.
Actual result:
--------------
Error message.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31386&edit=1