note 55975 added to function.oci-new-descriptor
| From: | alien at mosfasad dot ru | Date: | Fri, 19 Aug 2005 13:46:47 +0000 |
| Subject: | note 55975 added to function.oci-new-descriptor | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-93901@lists.php.net to get a copy of this message | ||
Error in Code !!!!
oci_execute($stmt, OCI_DEFAULT);
if ($lob->savefile($lob_upload)){
oci_execute($conn);
echo "Blob successfully uploaded\n";
}else{
echo "Couldn't upload Blob\n";
}
Need
oci_execute($stmt, OCI_DEFAULT);
if ($lob->savefile($lob_upload)){
#!!!!!!
oci_commit($conn);
#!!!!!!
echo "Blob successfully uploaded\n";
}else{
echo "Couldn't upload Blob\n";
}
----
Manual Page -- http://www.php.net/manual/en/function.oci-new-descriptor.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55975
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55975&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55975&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55975&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55975&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55975&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55975&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55975&report=yes
Search -- http://master.php.net/manage/user-notes.php