note 89812 added to function.oci-new-descriptor

From: Date: Tue, 24 Mar 2009 14:30:46 +0000
Subject: note 89812 added to function.oci-new-descriptor
Groups: php.notes 
Request: Send a blank email to php-notes+get-152383@lists.php.net to get a copy of this message
I tried "Example #2 oci_new_descriptor() example" and I found that line: $clob->write($data); should be changed to $clob->writTemporary($data); writTemporary() creates new temporary clob. Example #2 leads to error OCI_INVALID_HANDLE in write() or execute(). Also call close() instead of free(). ---- Server IP: 147.32.160.17 Probable Submitter: 62.24.71.249 ---- Manual Page -- http://www.php.net/manual/en/function.oci-new-descriptor.php Edit -- https://master.php.net/note/edit/89812 Del: integrated -- https://master.php.net/note/delete/89812/integrated Del: useless -- https://master.php.net/note/delete/89812/useless Del: bad code -- https://master.php.net/note/delete/89812/bad+code Del: spam -- https://master.php.net/note/delete/89812/spam Del: non-english -- https://master.php.net/note/delete/89812/non-english Del: in docs -- https://master.php.net/note/delete/89812/in+docs Del: other reasons-- https://master.php.net/note/delete/89812 Reject -- https://master.php.net/note/reject/89812 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152383) next »