|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-01-03 11:23 UTC] didou@php.net
[2020-02-07 06:11 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 12:00:02 2025 UTC |
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.