From ee4c6577d6249d3e98633c611b9059c6e7ccce74 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Fri, 29 Mar 2002 18:32:48 +0000 Subject: [PATCH] Various fixes, including - adding note to file uploads about more secure methods - uppercase all refurposes first letter - stripped very long refpursposes - removed . from end of refpurposes - added some more explanatory example titles - fixed some example PHP and HTML errors - a very small number of WS fixes may be inside two git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75815 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/oci8.xml | 78 +++++++++++++++++++++++++--------------------- 1 file changed, 42 insertions(+), 36 deletions(-) diff --git a/functions/oci8.xml b/functions/oci8.xml index a1ce85a7df..ab9d8166ff 100644 --- a/functions/oci8.xml +++ b/functions/oci8.xml @@ -1,5 +1,5 @@ - + Oracle 8 functions OCI8 @@ -692,7 +692,7 @@ print ""; OCINewDescriptor - Initialize a new empty descriptor LOB/FILE (LOB is default) + Initialize a new empty LOB or FILE descriptor @@ -703,8 +703,8 @@ print ""; inttype - OCINewDescriptor Allocates storage to hold - descriptors or LOB locators. Valid values for the valid + OCINewDescriptor allocates storage to hold + descriptors or LOB locators. Valid values for type are OCI_D_FILE, OCI_D_LOB, OCI_D_ROWID. For LOB descriptors, the methods load, save, and savefile are associated with the descriptor, for BFILE only the load method @@ -748,19 +748,24 @@ print ""; + *
* * ... */ if(!isset($lob_upload) || $lob_upload == 'none'){ ?> - + Upload file:
-

OCINumCols returns the number of columns in a - statement + statement. OCINumCols @@ -997,7 +1002,7 @@ Upload file:
OCIFetchStatement - Fetch all rows of result data into an array. + Fetch all rows of result data into an array Description @@ -1061,7 +1066,7 @@ OCILogoff($conn); OCIColumnIsNULL - test whether a result column is &null; + Test whether a result column is &null; Description @@ -1083,7 +1088,7 @@ OCILogoff($conn); OCIColumnName - Returns the name of a column. + Returns the name of a column Description @@ -1123,6 +1128,7 @@ OCILogoff($conn); print "$column_size"; print ""; } + print "\n"; OCIFreeStatement($stmt); OCILogoff($conn); print ""; @@ -1143,7 +1149,7 @@ OCILogoff($conn); OCIColumnSize - return result column size + Return result column size Description @@ -1206,7 +1212,7 @@ OCILogoff($conn); OCIColumnType - Returns the data type of a column. + Returns the data type of a column Description @@ -1247,6 +1253,7 @@ OCILogoff($conn); print "$column_size"; print ""; } + print "\n"; OCIFreeStatement($stmt); OCILogoff($conn); print ""; @@ -1268,7 +1275,7 @@ OCILogoff($conn); OCIServerVersion Return a string containing server version - information. + information Description @@ -1296,7 +1303,7 @@ OCILogoff($conn); OCIStatementType - Return the type of an OCI statement. + Return the type of an OCI statement Description @@ -1308,20 +1315,20 @@ OCILogoff($conn); OCIStatementType returns one of the following values: - "SELECT" - "UPDATE" - "DELETE" - "INSERT" - "CREATE" - "DROP" - "ALTER" - "BEGIN" - "DECLARE" - "UNKNOWN" + "SELECT" + "UPDATE" + "DELETE" + "INSERT" + "CREATE" + "DROP" + "ALTER" + "BEGIN" + "DECLARE" + "UNKNOWN"
- Code examples + <function>OCIStatementType</function> examples OCINewCursor - Return a new cursor (Statement-Handle) - use to bind ref-cursors. + Return a new cursor (Statement-Handle) @@ -1415,8 +1422,8 @@ while (OCIFetchInto($stmt,&$data,OCI_ASSOC)) { $deptno = $data["DEPTNO"]; print "$dname"; print "$deptno"; - ociexecute($data[ "EMPCNT" ]); - while (OCIFetchInto($data[ "EMPCNT" ],&$subdata,OCI_ASSOC)) { + ociexecute($data["EMPCNT"]); + while (OCIFetchInto($data["EMPCNT"],&$subdata,OCI_ASSOC)) { $num_emps = $subdata["NUM_EMPS"]; print "$num_emps"; } @@ -1438,7 +1445,7 @@ OCILogoff($conn); OCIFreeStatement - Free all resources associated with a statement. + Free all resources associated with a statement @@ -1458,7 +1465,7 @@ OCILogoff($conn); OCIFreeCursor - Free all resources associated with a cursor. + Free all resources associated with a cursor @@ -1477,7 +1484,7 @@ OCILogoff($conn); OCIFreeDesc - Deletes a large object descriptor. + Deletes a large object descriptor Description @@ -1513,11 +1520,11 @@ OCILogoff($conn); + OCIError - Return the last error of stmt|conn|global. - If no error happened returns &false;. + Return the last error of stmt|conn|global @@ -1543,8 +1550,7 @@ OCILogoff($conn); OCIInternalDebug - Enables or disables internal debug output. By default it is - disabled + Enables or disables internal debug output @@ -1582,7 +1588,7 @@ OCILogoff($conn); OCISetPrefetch - sets number of rows to be prefetched + Sets number of rows to be prefetched Description