[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
gobaFri Mar 29 08:53:30 2002 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: Use entity instead of comming soon text. Eases translation ;) Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.42 phpdoc/en/functions/oci8.xml:1.43 --- phpdoc/en/functions/oci8.xml:1.42 Wed Feb 27 08:50:20 2002 +++ phpdoc/en/functions/oci8.xmlFri Mar 29 08:53:30 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.42 $ -- +!-- $Revision: 1.43 $ -- reference id=ref.oci8 titleOracle 8 functions/title titleabbrevOCI8/titleabbrev -1601,7 +1601,7 refentry id=function.ociwritelobtofile refnamediv refnameOCIWriteLobToFile/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescription/title -1612,16 +1612,16 methodparam choice=opttypeint/typeparameterstart/parameter/methodparam methodparam choice=opttypeint/typeparameterlenght/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocisavelobfile refnamediv refnameOCISaveLobFile/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescription/title -1629,16 +1629,16 typestring/typemethodnameOCISaveLobFile/methodname methodparamtypeobject/typeparameterlob/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocisavelob refnamediv refnameOCISaveLob/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescription/title -1646,16 +1646,16 typestring/typemethodnameOCISaveLob/methodname methodparamtypeobject/typeparameterlob/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ociloadlob refnamediv refnameOCILoadLob/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescription/title -1663,16 +1663,16 typestring/typemethodnameOCILoadLob/methodname methodparamtypeobject/typeparameterlob/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocicolumnscale refnamediv refnameOCIColumnScale/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescription/title -1681,16 +1681,16 methodparamtypeint/typeparameterstmt/parameter/methodparam methodparamtypeint/typeparametercol/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocicolumnprecision refnamediv refnameOCIColumnPrecision/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescription/title -1699,16 +1699,16 methodparamtypeint/typeparameterstmt/parameter/methodparam methodparamtypeint/typeparametercol/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocicolumntyperaw refnamediv refnameOCIColumnTypeRaw/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescription/title -1717,16 +1717,16 methodparamtypeint/typeparameterstmt/parameter/methodparam methodparamtypeint/typeparametercol/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocinewcollection refnamediv refnameOCINewCollection/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescription/title -1736,16 +1736,16 methodparamtypestring/typeparametertdo/parameter/methodparam methodparam choice=opttypestring/typeparametershema/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocifreecollection refnamediv refnameOCIFreeCollection/refname -refpurposeComing soon./refpurpose +
[PHP-DOC] cvs: phpdoc /hu/functions oci8.xml
gobaFri Mar 29 09:48:24 2002 EDT Modified files: /phpdoc/hu/functionsoci8.xml Log: Adding 50% translated file Index: phpdoc/hu/functions/oci8.xml diff -u /dev/null phpdoc/hu/functions/oci8.xml:1.5 --- /dev/null Fri Mar 29 09:48:24 2002 +++ phpdoc/hu/functions/oci8.xmlFri Mar 29 09:48:23 2002 @@ -0,0 +1,1926 @@ +?xml version=1.0 encoding=iso-8859-2? +!-- EN-Revision: 1.44 Maintainer: goba Status: half translated -- + reference id=ref.oci8 + titleOracle 8 függvények/title + titleabbrevOCI8/titleabbrev + partintro + para +Ezekkel a függvényekkel az Oracle8 és Oracle7 adatbázisokat +érheted el, az Oracle8 Call-Interface (OCI8) használatával. +Az Oracle8 kliens könyvtárakra szükséged lesz, ha szeretnéd +ezt a kiterjesztést használni. + /para + para +Ez a kiterjesztés rugalmasabb, mint a hagyományos Oracle +kiterjesztés. Lehetõvé teszi globális és lokális PHP változók +kötését Oracle értékekhez, teljes LOB, FILE és ROWID +támogatással rendelkezik, és lehetõvé teszi a felhasználó +által megadott változók használatát. + /para + para +Mielõtt elkezdenéd használni ezt a kiterjesztést, gyõzõdj meg +róla, hogy az Oracle környezeti változók helyesen be vannak +állítva az Oracle és a webszerver felhasználó számára. Az +értékek, amiket esetleg be kell állítanod a kövezkezõk: +itemizedlist + listitem + simpara + ORACLE_HOME + /simpara + /listitem + listitem + simpara + ORACLE_SID + /simpara + /listitem + listitem + simpara + LD_PRELOAD + /simpara + /listitem + listitem + simpara + LD_LIBRARY_PATH + /simpara + /listitem + listitem + simpara + NLS_LANG + /simpara + /listitem + listitem + simpara + ORA_NLS33 + /simpara + /listitem +/itemizedlist + /para + para +Miután beállítottad a könyezeti változókat a webszerver +felhasználó számára, add hozzá a webszerver felhasználót (nobody, +www) az oracle csoporthoz. + /para + note +titleHa a webszerver nem indul el, vagy lefagy induláskor/title +para + Ellenõrizd, hogy az Apache szervert a pthread + könyvtárral fordítottad-e: +/para +para + informalexample + screen +![CDATA[ +# ldd /www/apache/bin/httpd +libpthread.so.0 = /lib/libpthread.so.0 (0x4001c000) +libm.so.6 = /lib/libm.so.6 (0x4002f000) +libcrypt.so.1 = /lib/libcrypt.so.1 (0x4004c000) +libdl.so.2 = /lib/libdl.so.2 (0x4007a000) +libc.so.6 = /lib/libc.so.6 (0x4007e000) +/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) +]] + /screen + /informalexample +/para +para + Ha a libpthread nincs bent a listában, újra kell + telepítened az Apache szervert: +/para +para + informalexample + screen +![CDATA[ +# cd /usr/src/apache_1.3.xx +# make clean +# LIBS=-lpthread ./config.status +# make +# make install +]] + /screen + /informalexample +/para + /note + para +example + titleOCI tippek/title + programlisting role=php +![CDATA[ +?php +// A tippeket [EMAIL PROTECTED] küldte be + +// Használd az OCI_DEFAULT opciót a végrehajtásnál, +// ha késleltetni szeternéd a végrehjtást +OCIExecute($stmt, OCI_DEFAULT); + +// Lekérdezett adatok használatához (fetch után): + +$result = OCIResult($stmt, $n); +if (is_object($result)) { $result = $result-load(); } + +// INSERT vagy UPDATE parancsokhoz: + +$sql = insert into table (mezo1, mezo2) values (mezo1 = 'érték', + mezo2 = empty_clob()) returning mezo2 into :mezo2; +OCIParse($conn, $sql); +$clob = OCINewDescriptor($conn, OCI_D_LOB); +OCIBindByName($stmt, :mezo2, $clob, -1, OCI_B_CLOB); +OCIExecute($stmt, OCI_DEFAULT); +$clob-save(valami szöveg); +OCICommit($conn); + +? +]] + /programlisting +/example + /para + para +Könnyen elérheted a tárolt eljárásokat, éppen úgy, +mint parancssorból. +example + titleTárolt eljárások használata/title + programlisting role=php +![CDATA[ +?php +// [EMAIL PROTECTED] küldte be a következõ kódot: + +$sth = OCIParse ( $dbh, begin sp_newaddress( :cimid, '$keresztnev', + '$csaladinev', '$ceg', '$cim1', '$cim2', '$varos', '$megye', + '$irszam', '$orszag', :hibakod );end; ); + +// Ez a parancs meghívja az sp_newaddress nevû tárolt eljárást, +// a :cimid ki és bemeneti változóval és a :hibakod kimeneti +// változóval. Ezután a változó kötéseket kell elvégezni: + + OCIBindByName ( $sth, :cimid, $cimid, 10 ); + OCIBindByName ( $sth, :hibakod, $hibakod, 10 ); + OCIExecute ( $sth ); + +? +]] + /programlisting +/example + /para + /partintro + + refentry id=function.ocidefinebyname + refnamediv +refnameOCIDefineByName/refname +refpurpose + PHP változó használata a definiálási lépésben egy SELECT számára +/refpurpose + /refnamediv + refsect1 +titleLeírás/title +
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml
cucinatoFri Mar 29 13:29:59 2002 EDT Modified files: /phpdoc/it/functionsoci8.xml Log: added new entities Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.24 phpdoc/it/functions/oci8.xml:1.25 --- phpdoc/it/functions/oci8.xml:1.24 Sun Mar 10 10:29:56 2002 +++ phpdoc/it/functions/oci8.xmlFri Mar 29 13:29:59 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? - !-- EN-Revision: 1.42 Maintainer: cucinato Status: ready -- + !-- EN-Revision: 1.43 Maintainer: cucinato Status: ready -- reference id=ref.oci8 titleFunzioni Oracle 8/title titleabbrevOCI8/titleabbrev -1601,7 +1601,7 refentry id=function.ociwritelobtofile refnamediv refnameOCIWriteLobToFile/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescrizione/title -1612,16 +1612,16 methodparam choice=opttypeint/typeparameterstart/parameter/methodparam methodparam choice=opttypeint/typeparameterlenght/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocisavelobfile refnamediv refnameOCISaveLobFile/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescrizione/title -1629,16 +1629,16 typestring/typemethodnameOCISaveLobFile/methodname methodparamtypeobject/typeparameterlob/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocisavelob refnamediv refnameOCISaveLob/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescrizione/title -1646,16 +1646,16 typestring/typemethodnameOCISaveLob/methodname methodparamtypeobject/typeparameterlob/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ociloadlob refnamediv refnameOCILoadLob/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescrizione/title -1663,16 +1663,16 typestring/typemethodnameOCILoadLob/methodname methodparamtypeobject/typeparameterlob/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocicolumnscale refnamediv refnameOCIColumnScale/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescrizione/title -1681,16 +1681,16 methodparamtypeint/typeparameterstmt/parameter/methodparam methodparamtypeint/typeparametercol/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocicolumnprecision refnamediv refnameOCIColumnPrecision/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescrizione/title -1699,16 +1699,16 methodparamtypeint/typeparameterstmt/parameter/methodparam methodparamtypeint/typeparametercol/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocicolumntyperaw refnamediv refnameOCIColumnTypeRaw/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescrizione/title -1717,16 +1717,16 methodparamtypeint/typeparameterstmt/parameter/methodparam methodparamtypeint/typeparametercol/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocinewcollection refnamediv refnameOCINewCollection/refname -refpurposeComing soon./refpurpose +refpurposeComing soon/refpurpose /refnamediv refsect1 titleDescrizione/title -1736,16 +1736,16 methodparamtypestring/typeparametertdo/parameter/methodparam methodparam choice=opttypestring/typeparametershema/parameter/methodparam /methodsynopsis -simpara - Coming soon. -/simpara +para + warn.undocumented.func; +/para /refsect1 /refentry refentry id=function.ocifreecollection refnamediv refnameOCIFreeCollection/refname -
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
gobaFri Mar 29 13:32:49 2002 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: 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 Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.44 phpdoc/en/functions/oci8.xml:1.45 --- phpdoc/en/functions/oci8.xml:1.44 Fri Mar 29 09:47:32 2002 +++ phpdoc/en/functions/oci8.xmlFri Mar 29 13:32:48 2002 -1,5 +1,5 ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.44 $ -- +!-- $Revision: 1.45 $ -- reference id=ref.oci8 titleOracle 8 functions/title titleabbrevOCI8/titleabbrev -692,7 +692,7 refnamediv refnameOCINewDescriptor/refname refpurpose - Initialize a new empty descriptor LOB/FILE (LOB is default) + Initialize a new empty LOB or FILE descriptor /refpurpose /refnamediv refsect1 -703,8 +703,8 methodparam choice=opttypeint/typeparametertype/parameter/methodparam /methodsynopsis para - functionOCINewDescriptor/function Allocates storage to hold - descriptors or LOB locators. Valid values for the valid + functionOCINewDescriptor/function allocates storage to hold + descriptors or LOB locators. Valid values for parametertype/parameter 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 ?php /* This script demonstrates file upload to LOB columns * The formfield used for this example looks like this - * form action=upload.php3 method=post enctype=multipart/form-data + * form action=upload.php method=post enctype=multipart/form-data * input type=file name=lob_upload * ... */ if(!isset($lob_upload) || $lob_upload == 'none'){ ? -form action=upload.php3 method=post enctype=multipart/form-data +form action=upload.php method=post enctype=multipart/form-data Upload file: input type=file name=lob_uploadbr input type=submit value=Upload - input type=reset /form ?php } else { + // $lob_upload contains the temporary filename of the uploaded file + + // see also the features section on file upload, + // if you would like to use secure uploads + $conn = OCILogon($user, $password); $lob = OCINewDescriptor($conn, OCI_D_LOB); $stmt = OCIParse($conn,insert into $table (id, the_blob) -876,7 +881,7 /methodsynopsis para functionOCINumCols/function returns the number of columns in a - statement + statement. /para example titleOCINumCols/title -997,7 +1002,7 refentry id=function.ocifetchstatement refnamediv refnameOCIFetchStatement/refname -refpurposeFetch all rows of result data into an array./refpurpose +refpurposeFetch all rows of result data into an array/refpurpose /refnamediv refsect1 titleDescription/title -1061,7 +1066,7 refentry id=function.ocicolumnisnull refnamediv refnameOCIColumnIsNULL/refname -refpurposetest whether a result column is null;/refpurpose +refpurposeTest whether a result column is null;/refpurpose /refnamediv refsect1 titleDescription/title -1083,7 +1088,7 refentry id=function.ocicolumnname refnamediv refnameOCIColumnName/refname -refpurposeReturns the name of a column./refpurpose +refpurposeReturns the name of a column/refpurpose /refnamediv refsect1 titleDescription/title -1123,6 +1128,7 print TD$column_size/TD; print /TR; } +print /TABLE\n; OCIFreeStatement($stmt); OCILogoff($conn); print /PRE; -1143,7 +1149,7 refentry id=function.ocicolumnsize refnamediv refnameOCIColumnSize/refname -refpurposereturn result column size/refpurpose +refpurposeReturn result column size/refpurpose /refnamediv refsect1 titleDescription/title -1206,7 +1212,7 refentry id=function.ocicolumntype refnamediv refnameOCIColumnType/refname -refpurposeReturns the data type of a column./refpurpose +refpurposeReturns the data type of a column/refpurpose /refnamediv refsect1 titleDescription/title -1247,6 +1253,7 print TD$column_size/TD; print /TR; } +print /TABLE\n; OCIFreeStatement($stmt); OCILogoff($conn); print /PRE; -1268,7 +1275,7 refnamediv refnameOCIServerVersion/refname refpurposeReturn a string containing server version -information./refpurpose +information/refpurpose /refnamediv refsect1 titleDescription/title -1296,7 +1303,7
[PHP-DOC] cvs: phpdoc /hu/functions oci8.xml
gobaFri Mar 29 13:33:26 2002 EDT Modified files: /phpdoc/hu/functionsoci8.xml Log: Absolutely up to date translation, ready for the readers Index: phpdoc/hu/functions/oci8.xml diff -u phpdoc/hu/functions/oci8.xml:1.5 phpdoc/hu/functions/oci8.xml:1.6 --- phpdoc/hu/functions/oci8.xml:1.5Fri Mar 29 09:48:23 2002 +++ phpdoc/hu/functions/oci8.xmlFri Mar 29 13:33:26 2002 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-2? -!-- EN-Revision: 1.44 Maintainer: goba Status: half translated -- +!-- EN-Revision: 1.45 Maintainer: goba Status: ready -- reference id=ref.oci8 titleOracle 8 függvények/title titleabbrevOCI8/titleabbrev @@ -647,7 +647,7 @@ refentry id=function.ociexecute refnamediv refnameOCIExecute/refname -refpurposeExecute a statement/refpurpose +refpurposeParancs futtatása/refpurpose /refnamediv refsect1 titleLeírás/title @@ -657,12 +657,13 @@ methodparam choice=opttypeint/typeparametermode/parameter/methodparam /methodsynopsis para - functionOCIExecute/function executes a previously parsed - statement. (see functionOCIParse/function). The optional - parametermode/parameter allows you to specify the - execution-mode (default is OCI_COMMIT_ON_SUCCESS). If you don't - want statements to be committed automatically specify OCI_DEFAULT as - your mode. + Az functionOCIExecute/function futtat egy korábban feldolgozott + parancsot. (Lásd az functionOCIParse/function függvényt.) + Az opcionális parametermode/parameter paraméterrel tudod + beállítani a végrehajtás módját. Az alapértelmezés az + OCI_COMMIT_ON_SUCCESS. Ha nem szeretnéd, hogy a parancs + rögtön egy tranzakció végrehajtást is végezzen, add meg + az OCI_DEFAULT módot. /para para return.success; @@ -673,7 +674,7 @@ refentry id=function.ocicommit refnamediv refnameOCICommit/refname -refpurposeCommits outstanding transactions/refpurpose +refpurposeFüggõben lévõ tranzakciók végrehajtása/refpurpose /refnamediv refsect1 titleLeírás/title @@ -682,8 +683,9 @@ methodparamtypeint/typeparameterconnection/parameter/methodparam /methodsynopsis para - functionOCICommit/function commits all outstanding statements - for Oracle connection parameterconnection/parameter. + Az functionOCICommit/function minden a + parameterconnection/parameter Oracle kapcsolaton + függõben lévõ tranzakciót végrehajt. /para /refsect1 /refentry @@ -691,7 +693,7 @@ refentry id=function.ocirollback refnamediv refnameOCIRollback/refname -refpurposeRolls back outstanding transactions/refpurpose +refpurposeFüggõben lévõ tranzakciók visszavonása/refpurpose /refnamediv refsect1 titleLeírás/title @@ -700,8 +702,9 @@ methodparamtypeint/typeparameterconnection/parameter/methodparam /methodsynopsis para - functionOCIRollback/function rolls back all outstanding - statements for Oracle connection parameterconnection/parameter. + Az functionOCIRollback/function minden a + parameterconnection/parameter Oracle kapcsolaton + függõben lévõ tranzakciót visszavon. /para /refsect1 /refentry @@ -710,7 +713,7 @@ refnamediv refnameOCINewDescriptor/refname refpurpose - Initialize a new empty descriptor LOB/FILE (LOB is default) + Egy új üres LOB vagy FILE leírót hoz létre /refpurpose /refnamediv refsect1 @@ -721,42 +724,44 @@ methodparam choice=opttypeint/typeparametertype/parameter/methodparam /methodsynopsis para - functionOCINewDescriptor/function Allocates storage to hold - descriptors or LOB locators. Valid values for the valid - parametertype/parameter 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 - exists. See the second example usage hints. + Az functionOCINewDescriptor/function tárterületet foglal + le leírók vagy LOB lokátorok tárolására. A + parametertype/parameter lehetséges értékei OCI_D_FILE, + OCI_D_LOB és OCI_D_ROWID. LOB leírók esetén a a load, save + és savefile metódusokat használhatod, a BFILE csak a + load metódust támogatja. Lásd a második példa használati + tippjeit. /para example titleOCINewDescriptor/title programlisting ![CDATA[ -?php -/* This script is designed to be called from a HTML form. - * It expects $user, $password, $table, $where, and $commitsize - * to be passed in from the form. The script then deletes - * the selected rows using the ROWID and commits after each - * set of $commitsize rows. (Use with care, there is no rollback) +?php +/* Ez a program ûrlapból történõ meghíváshoz készült. + * A $felhasznalo, $jelszo, $tabla, $where és
[PHP-DOC] cvs: phpdoc /de/functions oci8.xml
tom Tue Mar 26 18:12:10 2002 EDT Modified files: /phpdoc/de/functionsoci8.xml Log: typo, reformatted code Index: phpdoc/de/functions/oci8.xml diff -u phpdoc/de/functions/oci8.xml:1.21 phpdoc/de/functions/oci8.xml:1.22 --- phpdoc/de/functions/oci8.xml:1.21 Sat Feb 2 10:34:06 2002 +++ phpdoc/de/functions/oci8.xmlTue Mar 26 18:12:09 2002 -346,7 +346,8 } function insert_data($conn) -{ $stmt = ociparse($conn,insert into scott.hallo values('$conn' || ' ' || to_char(sysdate,'DD-MON-YY HH24:MI:SS'))); +{ $stmt = ociparse($conn,insert into scott.hallo + values('$conn' || ' ' || to_char(sysdate,'DD-MON-YY +HH24:MI:SS'))); ociexecute($stmt,OCI_DEFAULT); echo $conn. inserted hallo\n\n; } -1327,7 +1328,7 methodsynopsis typeint/typemethodnameOCIParse/methodname methodparamtypeint/typeparameterconn/parameter/methodparam - methodparamtypestrint/typeparameterquery/parameter/methodparam + methodparamtypestring/typeparameterquery/parameter/methodparam /methodsynopsis simpara functionOCIParse/function analysiert die parameterquery/parameter
[PHP-DOC] cvs: phpdoc /kr/functions oci8.xml
fuzzy74 Sat Jan 5 08:53:39 2002 EDT Modified files: /phpdoc/kr/functionsoci8.xml Log: UPDATE. new function Translated to Korean. Thank you. Index: phpdoc/kr/functions/oci8.xml diff -u phpdoc/kr/functions/oci8.xml:1.10 phpdoc/kr/functions/oci8.xml:1.11 --- phpdoc/kr/functions/oci8.xml:1.10 Wed Dec 12 15:55:07 2001 +++ phpdoc/kr/functions/oci8.xmlSat Jan 5 08:53:38 2002 @@ -1,23 +1,24 @@ ?xml version=1.0 encoding=utf-8? +!-- $Revision: 1.11 $ -- reference id=ref.oci8 title오라클 8 함수/title titleabbrevOCI8/titleabbrev partintro para - 이 함수들은 Oracle8과 Oracle7 데이터베이스에 접근할 수 있도록 해준다. - 이것은 Oracle8 Call-Interface (OCI8)를 사용한다. - 이 드라이버를 사용하려면 Oracle8 client libraries가 필요하다. +이 함수들을 통해 오라클 8과 오라클 7 데이터베이스를 +연동하여 사용한다. +Oracle8 Call-Interface (OCI8)를 사용하며, 이 함수들을 사용하려면 +오라클8 클라이언트 라이브러리(Oracle8 client libraries)가 +필요하다. /para para - 이 드라이버는 보통의 PHP Ora_ 드라이버보다 더욱 유연하다. - 이것은 PHP의 전역, 지역 변수들의 Oracle placeholder로의 binding을 지원하고, - full LOB와 FILE, ROWID를 지원하며, user-supplied define variable을 - 사용할 수 있도록 해 준다. +이 함수는 표준 오라클 함수보다 유연하다. +PHP의 전역 변수와 지역 변수들의 오라클 위치보유자(Oracle +placeholder) +로의 연계(binding), full LOB, FILE, ROWID를 지원하며, +user-supplied define variable을 사용할 수 있도록 해 준다. /para para - 이 드라이버를 사용하기 전에 오라클 유저와 웹서버 유저에게 - 유효한 오라클 환경변수를 적용했는지 확인해야한다. - 적용시킬 환경변수: +이 함수를 사용하기 전에 오라클 계정과 웹 데몬 계정에 +유효한 오라클 환경변수를 적용했는지 확인해야한다. +적용시킬 환경변수: itemizedlist listitem simpara @@ -52,14 +53,52 @@ /itemizedlist /para para - 웹서버 유저에게 환경변수를 적용한후에, - 웹서버 유저(nobody, www)를 오라클 그룹에 추가했는지 확인해야 한다. +웹서버 계정으로 위 환경변수를 적용한후에, +웹서버 계정(nobody, www)을 오라클 그룹에 추가했는지 확인해야 +한다. /para + note +title웹서버가 시작하지 않거나 시작시 제대로 작동하지 +않으면/title +para + 아파치가 pthread 라이브러리에 링크되어있는지 체크하라: +/para +para + informalexample + screen +![CDATA[ +# ldd /www/apache/bin/httpd +libpthread.so.0 = /lib/libpthread.so.0 (0x4001c000) +libm.so.6 = /lib/libm.so.6 (0x4002f000) +libcrypt.so.1 = /lib/libcrypt.so.1 (0x4004c000) +libdl.so.2 = /lib/libdl.so.2 (0x4007a000) +libc.so.6 = /lib/libc.so.6 (0x4007e000) +/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) +]] + /screen + /informalexample +/para +para + libpthread가 보이지 않으면 아파치를 다시 설치해야한다 : +/para +para + informalexample + screen +![CDATA[ +# cd /usr/src/apache_1.3.xx +# make clean +# LIBS=-lpthread ./config.status +# make +# make install +]] + /screen + /informalexample +/para + /note para example titleOCI Hints/title programlisting role=php -lt;?php +![CDATA[ +?php // by [EMAIL PROTECTED] // Use option: OCI_DEFAULT for execute command to delay execution @@ -79,18 +118,21 @@ OCIBindByName ($stmt, :field2, amp;$clob, -1, OCI_B_CLOB); OCIExecute($stmt, OCI_DEFAULT); $clob-save (some text); +OCICommit($conn); ?gt; +]] /programlisting /example /para para - command-line에서 내장 프로시저(stored procedures)를 쓰는것처럼 - 사용이 간편하다. +커맨드 라인(command-line)에서의 사용 방식과 동일하게 +내장 프로시저(stored procedures)를 사용할 수 있다. example title내장 프로시저(Stored Procedures) 사용하기/title programlisting role=php -lt;?php +![CDATA[ +?php // by [EMAIL PROTECTED] $sth = OCIParse ( $dbh, begin sp_newaddress( :address_id, '$firstname', '$lastname', '$company', '$address1', '$address2', '$city', '$state', @@ -104,7 +146,8 @@ OCIBindByName ( $sth, :error_code, $errorcode, 10 ); OCIExecute ( $sth ); -?gt; +? +]] /programlisting /example /para @@ -114,8 +157,7 @@ refnamediv refnameOCIDefineByName/refname refpurpose -SELECT 구문(Statement)을 사용하는 동안 정의단계(define-step)를 위한 - PHP 변수를 할당한다. + 한 SELECT 구문사용시 정의단계(define-step)를 위한 PHP 변수를 +할당한다. /refpurpose /refnamediv refsect1 @@ -132,7 +174,7 @@ /funcsynopsis para functionOCIDefineByName/function함수는 - 페치(fetch)한 컬럼을 사용자정의 변수 에 할당한다. + 페치(fetch)한 컬럼을 사용자정의 PHP변수 에 할당한다. 물론, 오라클 유저는 select 구문에서 소문자 컬럼명을 쓸수 있지만, functionOCIDefineByName/function함수의 parameterColumn-Name/parameter인수는 반드시 대문자로 적어야 한다. @@ -147,7 +189,8 @@ example titleOCIDefineByName/title programlisting -lt;?php +![CDATA[ +?php /* OCIDefineByPos example [EMAIL PROTECTED] (980219) */ $conn = OCILogon(scott,tiger); @@ -169,6 +212,7 @@ OCIFreeStatement($stmt); OCILogoff($conn); ? +]] /programlisting /example /refsect1 @@ -200,13 +244,13 @@ parameterph_name/parameter변수에 연계시킨다. 용도가 입력인지 출력인지는 실시간으로 결정될것이고, 충분한 저장 공간이 할당될 필요가 있다. parameterlength/parameter인수 - 는 바인드를 위한 최대 길이를 세팅한다. parameterlength/parameter인수를 + 는
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
jimwTue Dec 18 16:12:53 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: ociparse: add note about pl/sql being valid Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.39 phpdoc/en/functions/oci8.xml:1.40 --- phpdoc/en/functions/oci8.xml:1.39 Sat Dec 15 09:49:52 2001 +++ phpdoc/en/functions/oci8.xmlTue Dec 18 16:12:53 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.39 $ -- +!-- $Revision: 1.40 $ -- reference id=ref.oci8 titleOracle 8 functions/title titleabbrevOCI8/titleabbrev @@ -1573,8 +1573,8 @@ functionOCIParse/function parses the parameterquery/parameter using parameterconn/parameter. It returns the statement identity if the query is valid, false; if - not. The parameterquery/parameter can be any valid SQL - statement. + not. The parameterquery/parameter can be any valid SQL + statement or PL/SQL block. /simpara /refsect1 /refentry
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
hholzgraSat Dec 15 09:49:52 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: added a missing coming soon function Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.38 phpdoc/en/functions/oci8.xml:1.39 --- phpdoc/en/functions/oci8.xml:1.38 Wed Dec 12 15:47:10 2001 +++ phpdoc/en/functions/oci8.xmlSat Dec 15 09:49:52 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.38 $ -- +!-- $Revision: 1.39 $ -- reference id=ref.oci8 titleOracle 8 functions/title titleabbrevOCI8/titleabbrev @@ -1861,6 +1861,26 @@ funcsynopsis funcprototype funcdefstring functionOCICollAssign/function/funcdef + paramdefobject parametercollection/parameter/paramdef + paramdefobject parameterobject/parameter/paramdef + /funcprototype +/funcsynopsis +simpara + Coming soon. +/simpara + /refsect1 + /refentry + + refentry id=function.ocicollappend + refnamediv +refnameOCICollAppend/refname +refpurposeComing soon./refpurpose + /refnamediv + refsect1 +titleDescription/title +funcsynopsis + funcprototype + funcdefstring functionOCICollAppend/function/funcdef paramdefobject parametercollection/parameter/paramdef paramdefobject parameterobject/parameter/paramdef /funcprototype
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml
cucinatoSat Dec 15 16:24:54 2001 EDT Modified files: /phpdoc/it/functionsoci8.xml Log: Updated to EN rev 1.39 Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.20 phpdoc/it/functions/oci8.xml:1.21 --- phpdoc/it/functions/oci8.xml:1.20 Wed Dec 12 15:51:56 2001 +++ phpdoc/it/functions/oci8.xmlSat Dec 15 16:24:54 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? - !-- EN-Revision: 1.36 Maintainer: cucinato Status: ready -- + !-- EN-Revision: 1.39 Maintainer: cucinato Status: ready -- reference id=ref.oci8 titleFunzioni Oracle 8/title titleabbrevOCI8/titleabbrev @@ -283,13 +283,13 @@ $rowid = OCINewDescriptor($conn,OCI_D_ROWID); -OCIBindByName($stmt,:empno,amp;$empno,32); -OCIBindByName($stmt,:ename,amp;$ename,32); -OCIBindByName($stmt,:rid,amp;$rowid,-1,OCI_B_ROWID); +OCIBindByName($stmt,:empno,$empno,32); +OCIBindByName($stmt,:ename,$ename,32); +OCIBindByName($stmt,:rid,$rowid,-1,OCI_B_ROWID); $update = OCIParse($conn,update emp set sal = :sal where ROWID = :rid); -OCIBindByName($update,:rid,amp;$rowid,-1,OCI_B_ROWID); -OCIBindByName($update,:sal,amp;$sal,32); +OCIBindByName($update,:rid,$rowid,-1,OCI_B_ROWID); +OCIBindByName($update,:sal,$sal,32); $sal = 1; @@ -305,7 +305,7 @@ $stmt = OCIParse($conn,select * from emp where empno in (,,)); OCIExecute($stmt); -while (OCIFetchInto($stmt,amp;$arr,OCI_ASSOC)) { +while (OCIFetchInto($stmt,$arr,OCI_ASSOC)) { var_dump($arr); } OCIFreeStatement($stmt); @@ -1871,6 +1871,26 @@ /refsect1 /refentry + refentry id=function.ocicollappend + refnamediv +refnameOCICollAppend/refname +refpurposeComing soon./refpurpose + /refnamediv + refsect1 +titleDescrizione/title +funcsynopsis + funcprototype + funcdefstring functionOCICollAppend/function/funcdef + paramdefobject parametercollection/parameter/paramdef + paramdefobject parameterobject/parameter/paramdef + /funcprototype +/funcsynopsis +simpara + Coming soon. +/simpara + /refsect1 + /refentry + refentry id=function.ocicollassignelem refnamediv refnameOCICollAssignElem/refname
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml
cucinatoThu Nov 22 06:04:04 2001 EDT Modified files: /phpdoc/it/functionsoci8.xml Log: Finished CDATA update Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.18 phpdoc/it/functions/oci8.xml:1.19 --- phpdoc/it/functions/oci8.xml:1.18 Wed Nov 21 16:56:21 2001 +++ phpdoc/it/functions/oci8.xmlThu Nov 22 06:04:04 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? - !-- EN-Revision: 1.35 Maintainer: cucinato Status: ready -- + !-- EN-Revision: 1.36 Maintainer: cucinato Status: ready -- reference id=ref.oci8 titleFunzioni Oracle 8/title titleabbrevOCI8/titleabbrev @@ -97,21 +97,21 @@ /note para example - titleOCI Hints/title + titleTrucchi OCI/title programlisting role=php ![CDATA[ ?php // by [EMAIL PROTECTED] -// Use option: OCI_DEFAULT for execute command to delay execution +// Usare l'opzione OCI_DEFAULT nel comando execute per ritardare l'esicuzione OCIExecute($stmt, OCI_DEFAULT); -// for retrieve data use (after fetch): +// per ricevere i dati utilizzare (dopo il fetch): $result = OCIResult($stmt, $n); if (is_object ($result)) $result = $result-load(); -// For INSERT or UPDATE statement use: +// come comandi INSERT o UPDATE usare: $sql = insert into table (field1, field2) values (field1 = 'value', field2 = empty_clob()) returning field2 into :field2; @@ -132,27 +132,29 @@ would from the commands line. example titleUsing Stored Procedures/title - programlisting role=php -lt;?php + programlisting role=php +![CDATA[ +?php // by [EMAIL PROTECTED] $sth = OCIParse ( $dbh, begin sp_newaddress( :address_id, '$firstname', '$lastname', '$company', '$address1', '$address2', '$city', '$state', '$postalcode', '$country', :error_code );end; ); -// This calls stored procedure sp_newaddress, with :address_id being an -// in/out variable and :error_code being an out variable. -// Then you do the binding: +// Questo codice richiama la stord procedure sp_newaddress, dove :address_id è +// una variabile in/out e :error_code è una variabile out. +// Quindi si effettua il binding: OCIBindByName ( $sth, :address_id, $addr_id, 10 ); OCIBindByName ( $sth, :error_code, $errorcode, 10 ); OCIExecute ( $sth ); -?gt; +? +]] /programlisting /example /para /partintro - + refentry id=function.ocidefinebyname refnamediv refnameOCIDefineByName/refname @@ -190,14 +192,15 @@ example titleOCIDefineByName/title programlisting -lt;?php +![CDATA[ +?php /* OCIDefineByPos example [EMAIL PROTECTED] (980219) */ $conn = OCILogon(scott,tiger); $stmt = OCIParse($conn,select empno, ename from emp); -/* the define MUST be done BEFORE ociexecute! */ +/* il define DEVE essere eseguito PRIMA di ociexecute! */ OCIDefineByName($stmt,EMPNO,$empno); OCIDefineByName($stmt,ENAME,$ename); @@ -212,6 +215,7 @@ OCIFreeStatement($stmt); OCILogoff($conn); ? +]] /programlisting /example /refsect1 @@ -259,13 +263,14 @@ (Character-File), OCI_B_CLOB (Character-LOB), OCI_B_BLOB (Binary-LOB) e OCI_B_ROWID (ROWID). /para - example - titleOCIDefineByName/title - programlisting -lt;?php +example + titleOCIDefineByName/title + programlisting +![CDATA[ +?php /* OCIBindByPos example [EMAIL PROTECTED] (980221) - inserts 3 records into emp, and uses the ROWID for updating the - records just after the insert. + inserisce 3 tuple in emp, e usa ROWID per aggiornare le + tuple subito dopo l'inserimento. */ $conn = OCILogon(scott,tiger); @@ -312,8 +317,9 @@ OCILogoff($conn); ? -/programlisting - /example +]] + /programlisting +/example warning para It is a bad idea to use magic quotes and @@ -363,8 +369,9 @@ example titleOCILogon/title programlisting -lt;?php -print lt;HTMLlt;PRE; +![CDATA[ +?php +print HTMLPRE; $db = ; $c1 = ocilogon(scott,tiger,$db); @@ -410,7 +417,7 @@ ociexecute($stmt,OCI_DEFAULT); echo $conn.selecting\n\n; while (ocifetch($stmt)) -echo $conn. lt;.ociresult($stmt,TEST).\n\n; +echo $conn. .ociresult($stmt,TEST).\n\n; echo $conn.done\n\n; } @@ -441,8 +448,12 @@ drop_table($c1); -print lt;/PRElt;/HTML; -?/programlisting/example/para +print /PRE/HTML; +? +]] + /programlisting + /example +/para simpara Vedere anche functionOCIPLogon/function e functionOCINLogon/function./simpara @@ -462,9 +473,9 @@ funcdefint functionOCIPLogon/function/funcdef paramdefstring parameterusername/parameter/paramdef paramdefstring parameterpassword/parameter/paramdef - paramdefstring + paramdefstring parameteroptionaldb/optional/parameter - /paramdef + /paramdef /funcprototype /funcsynopsis para @@ -496,7 +507,7 @@ funcdefint
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
cucinatoWed Nov 21 17:09:47 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: Added missing ]] Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.35 phpdoc/en/functions/oci8.xml:1.36 --- phpdoc/en/functions/oci8.xml:1.35 Tue Nov 20 18:58:47 2001 +++ phpdoc/en/functions/oci8.xmlWed Nov 21 17:09:47 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.35 $ -- +!-- $Revision: 1.36 $ -- reference id=ref.oci8 titleOracle 8 functions/title titleabbrevOCI8/titleabbrev @@ -123,6 +123,7 @@ OCICommit($conn); ? +]] /programlisting /example /para
[PHP-DOC] cvs: phpdoc /fr/functions oci8.xml ovrimos.xml
derick Wed Nov 14 12:43:39 2001 EDT Modified files: /phpdoc/fr/functionsoci8.xml ovrimos.xml Log: - Fixing parsing errors Index: phpdoc/fr/functions/oci8.xml diff -u phpdoc/fr/functions/oci8.xml:1.15 phpdoc/fr/functions/oci8.xml:1.16 --- phpdoc/fr/functions/oci8.xml:1.15 Mon Nov 12 18:37:22 2001 +++ phpdoc/fr/functions/oci8.xmlWed Nov 14 12:43:38 2001 @@ -1,5 +1,5 @@ ?xml encoding=iso-8859-1? -!-- $Revision: 1.15 $ -- +!-- $Revision: 1.16 $ -- reference id=ref.oci8 titleOracle 8/title titleabbrevoci8/titleabbrev @@ -708,9 +708,9 @@ titleExemple avec functionocinewdescriptor/function/title programlisting lt;?php -/* Appel d'une procdure PL/SQL stocke qui prend un clobs en entre - * (PHP 4 = 4.0.6). - * Exemple de signateure de procdure stocke PL/SQL : +/* Appel d'une proceacute;dure PL/SQL stockeacute;e qui prend un clobs + * en entreacute;e (PHP 4 = 4.0.6). + * Exemple de signateure de proceacute;dure stockeacute;e PL/SQL : * * PROCEDURE save_data * Nom de l'argument TypeIn/Out Default? Index: phpdoc/fr/functions/ovrimos.xml diff -u phpdoc/fr/functions/ovrimos.xml:1.6 phpdoc/fr/functions/ovrimos.xml:1.7 --- phpdoc/fr/functions/ovrimos.xml:1.6 Mon Nov 12 18:37:22 2001 +++ phpdoc/fr/functions/ovrimos.xml Wed Nov 14 12:43:38 2001 @@ -1 +1,806 @@ -?xml version=1.0 encoding=iso-8859-1?!-- $Revision: 1.6 $ --reference id=ref.ovrimos titleOvrimos SQL/title titleabbrevOvrimosSQL/titleabbrev partintro paraOvrimos SQL Server est une base de donneacute;es relationnelle client/serveuret transactionnelle, combineacute;e avec des fonctionnaliteacute;s web, et destransactions rapides. /para para Ovrimos SQL Server est disponible agrave; ulink url=url.ovrimos;www.ovrimos.com/ulink. Pour activer le supportovrimos de PHP, il suffit de compiler PHP avec l'optionlink linkend=install.configure.with-ovrimosoption role=configure--with-ovrimos/option/linkdu script de configuration. Vous devrez aussi installer la librairie sqlclidisponible avec la distribution Ovrimos SQL Server. /para paraexample title Connection au serveur Ovrimos SQL Server et seacute;lection d'une table systegrave;me /title programlisting role=phplt;?php$conn = ovrimos_connect(server.domain.com, 8001, admin, password);if ($conn != 0) {echo (Connection eacute;tablie!); $res = ovrimos_exec($conn, select table_id, table_name from sys.tables);if ($res != 0) {echo Requecirc;te effectueacute;e!; ovrimos_result_all($res);ovrimos_free_result($res);} ovrimos_close($conn);}?gt; /programlisting/exampleCet exemple effectue une connexion reacute;ussie. /para /partintro refentry id=function.ovrimos-connect refnamedivrefnameovrimos_connect/refname refpurposeConnexion agrave; un serveur/refpurpose /refnamediv refsect1 titleDescription/titlefuncsynopsis funcprototype funcdefint functionovrimos_connect/function/funcdef paramdefstring parameterhost/parameter/paramdef paramdefstring parameterdb/parameter/paramdef paramdefstring parameteruser/parameter/paramdef paramdefstring parameterpassword/parameter/paramdef /funcprototype/funcsynopsis para functionovrimos_connect/function sert agrave; se connecter agrave; un serveur Ovrimos./parapara functionovrimos_connect/function retourne un identifiant de connexion, supeacute;rieur agrave; 0, ou 0 en cas d'eacute;chec.parameterhost/parameter est l'adresse IP de l'hocirc;te Ovrimos, et parameterdb/parameter est soit le nom d'une base de donneacute;es, soit une chaicirc;ne contenant le numeacute;ro de port. /parapara example titleExemple avec functionovrimos_connect/function/title programlisting role=phplt;?php$conn = ovrimos_connect(server.domain.com, 8001, admin, password);if ($conn != 0) {echo Connection eacute;tablie!; $res=ovrimos_exec($conn, select table_id, table_name from sys.tables);if ($res != 0) {echo Requecirc;te effectueacute;e!; ovrimos_result_all($res);ovrimos_free_result($res);} ovrimos_close($conn);}?gt; /programlisting /example L'exemple ci-dessus montre comment se connecter agrave; une base de donneacute;es et afficher le contenu d'une table./para /refsect1 /refentry refentry id=function.ovrimos-close refnamedivrefnameovrimos_close/refname refpurposeFerme une connexion/refpurpose /refnamediv refsect1 titleDescription/titlefuncsynopsis funcprototype funcdefvoid functionovrimos_close/function/funcdef paramdefint parameterconnection/parameter/paramdef /funcprototype/funcsynopsis para functionovrimos_close/function sert agrave; ferme une connexion
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml
cucinatoMon Nov 12 09:06:36 2001 EDT Modified files: /phpdoc/it/functionsoci8.xml Log: Re-synced revision Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.16 phpdoc/it/functions/oci8.xml:1.17 --- phpdoc/it/functions/oci8.xml:1.16 Sat Nov 10 16:50:03 2001 +++ phpdoc/it/functions/oci8.xmlMon Nov 12 09:06:36 2001 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? - !-- EN-Revision: 1.33 Maintainer: cucinato Status: ready -- + !-- EN-Revision: 1.34 Maintainer: cucinato Status: ready -- reference id=ref.oci8 titleFunzioni Oracle 8/title titleabbrevOCI8/titleabbrev
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml oracle.xml
cucinatoSat Sep 22 09:40:51 2001 EDT Modified files: /phpdoc/it/functionsoci8.xml oracle.xml Log: Added vim parameters Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.12 phpdoc/it/functions/oci8.xml:1.13 --- phpdoc/it/functions/oci8.xml:1.12 Tue Aug 21 02:22:18 2001 +++ phpdoc/it/functions/oci8.xmlSat Sep 22 09:40:50 2001 @@ -1,5 +1,5 @@ ?xml encoding=iso-8859-1? -!-- $Revision: 1.12 $ -- +!-- $Revision: 1.13 $ -- reference id=ref.oci8 titleFunzioni Oracle 8/title titleabbrevOCI8/titleabbrev @@ -1908,4 +1908,7 @@ sgml-local-catalogs:nil sgml-local-ecat-files:nil End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 -- Index: phpdoc/it/functions/oracle.xml diff -u phpdoc/it/functions/oracle.xml:1.10 phpdoc/it/functions/oracle.xml:1.11 --- phpdoc/it/functions/oracle.xml:1.10 Tue Aug 21 02:23:07 2001 +++ phpdoc/it/functions/oracle.xml Sat Sep 22 09:40:50 2001 @@ -1,5 +1,5 @@ ?xml encoding=iso-8859-1? -!-- $Revision: 1.10 $ -- +!-- $Revision: 1.11 $ -- reference id=ref.oracle titleFunzioni Oracle/title titleabbrevOracle/titleabbrev @@ -711,4 +711,7 @@ sgml-local-catalogs:nil sgml-local-ecat-files:nil End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 --
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
dbenson Mon Sep 17 16:55:19 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: Document temporary lob support (dbenson). Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.31 phpdoc/en/functions/oci8.xml:1.32 --- phpdoc/en/functions/oci8.xml:1.31 Sun Aug 19 07:47:42 2001 +++ phpdoc/en/functions/oci8.xmlMon Sep 17 16:55:19 2001 @@ -1,5 +1,5 @@ ?xml encoding=iso-8859-1? -!-- $Revision: 1.31 $ -- +!-- $Revision: 1.32 $ -- reference id=ref.oci8 titleOracle 8 functions/title titleabbrevOCI8/titleabbrev @@ -782,6 +782,36 @@ OCIFreeStatement($stmt); OCILogoff($conn); } +? + /programlisting +/example +example + titleOCINewDescriptor/title + programlisting +lt;?php +/* Calling PL/SQL stored procedures which contain clobs as input + * parameters (PHP 4 = 4.0.6). + * Example PL/SQL stored procedure signature is: + * + * PROCEDURE save_data + * Argument Name TypeIn/Out Default? + * -- --- -- + * KEYNUMBER(38) IN + * DATA CLOBIN + * + */ + +$conn = OCILogon($user, $password); +$stmt = OCIParse($conn, begin save_data(:key, :data); end;); +$clob = OCINewDescriptor($conn, OCI_D_LOB); + OCIBindByName($stmt, ':key', $key); + OCIBindByName($stmt, ':data', $clob, -1, OCI_B_CLOB); + $clob-WriteTemporary($data); + OCIExecute($stmt, OCI_DEFAULT); + OCICommit($conn); + $clob-close(); + $clob-free(); + OCIFreeStatement($stmt); ? /programlisting /example
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml
cucinatoTue Aug 21 02:22:19 2001 EDT Modified files: /phpdoc/it/functionsoci8.xml Log: Added xml encoding tag Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.11 phpdoc/it/functions/oci8.xml:1.12 --- phpdoc/it/functions/oci8.xml:1.11 Thu Aug 9 15:15:23 2001 +++ phpdoc/it/functions/oci8.xmlTue Aug 21 02:22:18 2001 @@ -1,4 +1,5 @@ -!-- $Revision: 1.11 $ -- +?xml encoding=iso-8859-1? +!-- $Revision: 1.12 $ -- reference id=ref.oci8 titleFunzioni Oracle 8/title titleabbrevOCI8/titleabbrev
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml oracle.xml
cucinatoThu Jul 19 20:05:06 2001 EDT Modified files: /phpdoc/it/functionsoracle.xml oci8.xml Log: Fixed true/false/null values and wowels with accent. Index: phpdoc/it/functions/oracle.xml diff -u phpdoc/it/functions/oracle.xml:1.7 phpdoc/it/functions/oracle.xml:1.8 --- phpdoc/it/functions/oracle.xml:1.7 Thu Jul 19 19:18:15 2001 +++ phpdoc/it/functions/oracle.xml Thu Jul 19 20:05:06 2001 @@ -459,7 +459,7 @@ restituiragrave; un valore diverso da zero. Si noti, comunque, che un test al valore false; sul risultato di questa funzione puograve; dare esito positivo anche in caso - non ci siano errori (campo NULL, stringa vuota, il numero 0, la + non ci siano errori (campo null;, stringa vuota, il numero 0, la stringa 0). /para para Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.9 phpdoc/it/functions/oci8.xml:1.10 --- phpdoc/it/functions/oci8.xml:1.9Wed Jul 18 14:52:18 2001 +++ phpdoc/it/functions/oci8.xmlThu Jul 19 20:05:06 2001 @@ -8,7 +8,7 @@ di Oracle8 per utilizzare questa estensione. /para para -Questa estensione e' piu' flessibile della estensione standard di Oracle. +Questa estensione egrave; piugrave; flessibile della estensione standard di +Oracle. Supporta il binding di variabili PHP locali e globali ai segnaposto Oracle, ha pieno supporto di LOB, FILE e ROWID e permette di utilizzare variabili di definizione personalizzabili. @@ -232,19 +232,19 @@ para functionOCIBindByName/function collega la variabile PHP parametervariable/parameter al segnaposto Oracle - parameterph_name/parameter. L'utilizzo in modalita' - input o output sara' determinato a run-time, e lo spazio di memoria - necessario sara' allocato. Il parametro + parameterph_name/parameter. L'utilizzo in modalitagrave; + input o output saragrave; determinato a run-time, e lo spazio di memoria + necessario saragrave; allocato. Il parametro parameterlength/parameter imposta la lunghezza massima del collegamento. Se si imposta parameterlength/parameter a -1 - functionOCIBindByName/function usera' l'attuale lunghezza di + functionOCIBindByName/function useragrave; l'attuale lunghezza di parametervariable/parameter per impostare la lunghezza massima. /para para Se si deve collegare un Datatype astratto (LOB/ROWID/BFILE) occorre innanzitutto allocarlo usando la funzione functionOCINewDescriptor/function. Il parametro - parameterlength/parameter non e' usato con i Datatypes astratti + parameterlength/parameter non egrave; usato con i Datatypes astratti e dovrebbe essere impostato a -1. La veriabile parametertype/parameter informa oracle sul tipo di descrittore che si vuole usare. I valori possibili sono: OCI_B_FILE (Binary-File), OCI_B_CFILE @@ -339,9 +339,9 @@ para functionOCILogon/function restituisce un identificatore di connessione necessario per la maggior parte delle altre chiamate OCI. Il terzo parametro opzionale - puo' contenere il nome della istanza Oracle locale o il nome + pugrave; contenere il nome della istanza Oracle locale o il nome della voce in tnsnames.ora a cui ci si vuole connettere. - Se il terzo parametro opzionale non e' specificato, PHP usa la + Se il terzo parametro opzionale non egrave; specificato, PHP usa la variabile d'ambiente ORACLE_SID (istanza di Oracle) o TWO_TASK (in tnsnames.ora) per determinare a quale database collegarsi. /para @@ -462,9 +462,9 @@ para functionOCIPLogon/function crea una connessione persistente a un database Oracle 8 e si autentica. Il terzo parametro opzionale - puo' contenere il nome della istanza Oracle locale o il nome + puograve; contenere il nome della istanza Oracle locale o il nome della voce in tnsnames.ora a cui ci si vuole connettere. - Se il terzo parametro opzionale non e' specificato, PHP usa la + Se il terzo parametro opzionale non igrave; specificato, PHP usa la variabile d'ambiente ORACLE_SID (istanza di Oracle) o TWO_TASK (in tnsnames.ora) per determinare a quale database collegarsi. /para @@ -496,15 +496,15 @@ para functionOCINLogon/function crea una nuova connessione a un database Oracle 8 e si autentica. Il terzo parametro opzionale - puo' contenere il nome della istanza Oracle locale o il nome + puograve; contenere il nome della istanza Oracle locale o il nome della voce in tnsnames.ora a cui ci si vuole connettere. - Se il terzo parametro opzionale non e' specificato, PHP usa la + Se il terzo parametro opzionale non egrave; specificato, PHP usa la variabile d'ambiente ORACLE_SID (istanza di Oracle) o TWO_TASK (in tnsnames.ora) per determinare a quale database collegarsi. /para para
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml oracle.xml
peruginiWed Jul 18 14:52:18 2001 EDT Modified files: /phpdoc/it/functionsoci8.xml oracle.xml Log: Updated by Marco Cucinato. Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.8 phpdoc/it/functions/oci8.xml:1.9 --- phpdoc/it/functions/oci8.xml:1.8Sat Jul 7 18:25:04 2001 +++ phpdoc/it/functions/oci8.xmlWed Jul 18 14:52:18 2001 @@ -113,6 +113,7 @@ OCIBindByName ($stmt, :field2, amp;$clob, -1, OCI_B_CLOB); OCIExecute($stmt, OCI_DEFAULT); $clob-gt;save (some text); +OCICommit($conn); ?gt; /programlisting @@ -768,7 +769,7 @@ $stmt = OCIParse($conn,insert into $table (id, the_blob) values(my_seq.NEXTVAL, EMPTY_BLOB()) returning the_blob into :the_blob); OCIBindByName($stmt, ':the_blob', amp;$lob, -1, OCI_B_BLOB); - OCIExecute($stmt); + OCIExecute($stmt, OCI_DEFAULT); if($lob-savefile($lob_upload)){ OCICommit($conn); echo Blob successfully uploaded\n; @@ -942,7 +943,7 @@ functionOCIFetchInto/function sovrascrivera' il preceente contenuto di parameterresult/parameter. Di default parameterresult/parameter conterra' un array (primo indice = 1) di tutti i campi - che non sono null;. + che non sono NULL. /para para Il parametro parametermode/parameter permette di cambiare il comportamento @@ -958,7 +959,7 @@ (primo indice = 1). (DEFAULT) /member member - literalOCI_RETURN_NULLS/literal Restituisce anche i campi null;. + literalOCI_RETURN_NULLS/literal Restituisce anche i campi NULL. /member member literalOCI_RETURN_LOBS/literal Restituisce il valore di un LOB @@ -1036,7 +1037,7 @@ refentry id=function.ocicolumnisnull refnamediv refnameOCIColumnIsNULL/refname -refpurposeverifica se un campo di risultato e' null;/refpurpose +refpurposeverifica se un campo di risultato e' NULL/refpurpose /refnamediv refsect1 titleDescrizione/title @@ -1050,7 +1051,7 @@ para functionOCIColumnIsNULL/function restituisce vero se il campo parametercol/parameter nel risultato dell'istruzione - parameterstmt/parameter e' null;. Si puo' usare il + parameterstmt/parameter e' NULL. Si puo' usare il numero del campo (primo campo=1) o il nome del campo per il parametro parametercol/parameter. /para @@ -1194,11 +1195,11 @@ paramdefint parametercol/parameter/paramdef /funcprototype /funcsynopsis -para +simpara functionOCIColumnType/function restituisce il tipo del campo corrispondente alla posizione (1 = primo campo) specificata. - /para + /simpara para example titleOCIColumnType/title @@ -1359,8 +1360,8 @@ var_dump($data); } -OCIFreeCursor($stmt); -OCIFreeStatement($curs); +OCIFreeStatement($stmt); +OCIFreeCursor($curs); OCILogoff($conn); ? /programlisting @@ -1484,7 +1485,7 @@ funcprototype funcdefint functionOCIParse/function/funcdef paramdefint parameterconn/parameter/paramdef - paramdefstrint parameterquery/parameter/paramdef + paramdefstring parameterquery/parameter/paramdef /funcprototype /funcsynopsis simpara @@ -1549,6 +1550,345 @@ /simpara /refsect1 /refentry + + refentry id=function.ocicancel + refnamediv +refnameOCICancel/refname +refpurposeInterrompe la lettura del cursore/refpurpose + /refnamediv + refsect1 +titleDescrizione/title +funcsynopsis + funcprototype + funcdefint functionOCICancel/function/funcdef + paramdefint parameterstmt/parameter/paramdef + /funcprototype +/funcsynopsis +simpara + Se non si vogliono leggere altri dati da un cursore, chiamare + functionOCICancel/function. +/simpara + /refsect1 + /refentry + + refentry id=function.ocisetprefetch + refnamediv +refnameOCISetPrefetch/refname +refpurposeimposta il numero di tuple da precaricare/refpurpose + /refnamediv + refsect1 +titleDescrizione/title +funcsynopsis + funcprototype + funcdefint functionOCISetPrefetch/function/funcdef + paramdefint parameterstmt/parameter/paramdef + paramdefint parameterrows/parameter/paramdef + /funcprototype +/funcsynopsis +simpara + Imposta il nomero di tuple da precaricare. Il valore di default egrave; 1. +/simpara + /refsect1 + /refentry + + refentry id=function.ociwritelobtofile + refnamediv +refnameOCIWriteLobToFile/refname +refpurposeComing soon./refpurpose + /refnamediv + refsect1 +titleDescrizione/title +funcsynopsis + funcprototype + funcdefvoid functionOCIWriteLobToFile/function/funcdef + paramdefobject parameterlob/parameter/paramdef + paramdefstring parameteroptionalfilename/optional/parameter/paramdef + paramdefint
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
tfromm Sat Jul 14 08:31:14 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: ocisetprefetch added Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.27 phpdoc/en/functions/oci8.xml:1.28 --- phpdoc/en/functions/oci8.xml:1.27 Sat Jul 7 15:36:45 2001 +++ phpdoc/en/functions/oci8.xmlSat Jul 14 08:31:14 2001 @@ -1550,10 +1550,11 @@ /simpara /refsect1 /refentry + refentry id=function.ocicancel refnamediv refnameOCICancel/refname -refpurposeComing soon./refpurpose +refpurposeCancel reading from cursor/refpurpose /refnamediv refsect1 titleDescription/title @@ -1564,7 +1565,28 @@ /funcprototype /funcsynopsis simpara - Coming soon. + If you do not want read more data from a cursor, then call + functionOCICancel/function. +/simpara + /refsect1 + /refentry + + refentry id=function.ocisetprefetch + refnamediv +refnameOCISetPrefetch/refname +refpurposesets number of rows to be prefetched/refpurpose + /refnamediv + refsect1 +titleDescription/title +funcsynopsis + funcprototype + funcdefint functionOCISetPrefetch/function/funcdef + paramdefint parameterstmt/parameter/paramdef + paramdefint parameterrows/parameter/paramdef + /funcprototype +/funcsynopsis +simpara + Sets the number of top level rows to be prefetched. The default value is 1 row. /simpara /refsect1 /refentry
[PHP-DOC] cvs: phpdoc /de/functions oci8.xml
tfromm Sat Jul 14 08:31:53 2001 EDT Modified files: /phpdoc/de/functionsoci8.xml Log: ocisetprefetch added Index: phpdoc/de/functions/oci8.xml diff -u phpdoc/de/functions/oci8.xml:1.14 phpdoc/de/functions/oci8.xml:1.15 --- phpdoc/de/functions/oci8.xml:1.14 Sat Jul 7 18:17:02 2001 +++ phpdoc/de/functions/oci8.xmlSat Jul 14 08:31:52 2001 @@ -1433,7 +1433,7 @@ refentry id=function.ocicancel refnamediv refnameOCICancel/refname -refpurposeKommt noch./refpurpose +refpurposebricht das lesen von einem cursor ab/refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1444,7 +1444,29 @@ /funcprototype /funcsynopsis simpara - Kommt noch. + Wenn keine weiteren Zeilen gefecht werden sollen, kann + der Cursor durch functionOCICancel/function abgebrochen werden. +/simpara + /refsect1 + /refentry + + refentry id=function.ocisetprefetch + refnamediv +refnameOCISetPrefetch/refname +refpurposesetzt die Anzahl der Zeilen die vorab gefetcht werden +sollen/refpurpose + /refnamediv + refsect1 +titleBeschreibung/title +funcsynopsis + funcprototype + funcdefint functionOCISetPrefetch/function/funcdef + paramdefint parameterstmt/parameter/paramdef + paramdefint parameterrows/parameter/paramdef + /funcprototype +/funcsynopsis +simpara + functionOCISetPrefetch/function setzt sie Anzahl der Zeilen fest, welche + bereits vorab gefetcht werden sollen. Der Grundwert ist 1. /simpara /refsect1 /refentry
[PHP-DOC] cvs: phpdoc /de/functions oci8.xml
sbergmann Sat Jul 14 10:08:04 2001 EDT Modified files: /phpdoc/de/functionsoci8.xml Log: Fugbix typo. Index: phpdoc/de/functions/oci8.xml diff -u phpdoc/de/functions/oci8.xml:1.15 phpdoc/de/functions/oci8.xml:1.16 --- phpdoc/de/functions/oci8.xml:1.15 Sat Jul 14 08:31:52 2001 +++ phpdoc/de/functions/oci8.xmlSat Jul 14 10:08:04 2001 @@ -1444,7 +1444,7 @@ /funcprototype /funcsynopsis simpara - Wenn keine weiteren Zeilen gefecht werden sollen, kann + Wenn keine weiteren Zeilen gefetched werden sollen, kann der Cursor durch functionOCICancel/function abgebrochen werden. /simpara /refsect1
[PHP-DOC] cvs: phpdoc /de/functions oci8.xml /en/functions oci8.xml
tfromm Fri Jun 29 08:53:01 2001 EDT Modified files: /phpdoc/de/functionsoci8.xml /phpdoc/en/functionsoci8.xml Log: bugfix in oci8.xml documentation (about returning resultarrays) Index: phpdoc/de/functions/oci8.xml diff -u phpdoc/de/functions/oci8.xml:1.11 phpdoc/de/functions/oci8.xml:1.12 --- phpdoc/de/functions/oci8.xml:1.11 Sat Jun 23 06:20:26 2001 +++ phpdoc/de/functions/oci8.xmlFri Jun 29 08:52:58 2001 @@ -891,7 +891,7 @@ functionOCIFetchInto/function fetcht die nächste Zeile eines SELECT Ergebnisses in das parameterresult/parameter Array. functionOCIFetchInto/function überschreibt dabei den Inhalt in parameterresult/parameter. - Voreingestellt beinhaltet dann parameterresult/parameter ein bei 1 + Voreingestellt beinhaltet dann parameterresult/parameter ein bei 0 beginnendes indiziertes Array mit allen Spalten, welche nicht NULL sind. /para para @@ -904,7 +904,7 @@ simplelist memberliteralOCI_ASSOC/literal Gibt ein assoziatives Array zurück./member memberliteralOCI_NUM/literal Gibt ein indiziertes Array zurück, beginnend - bei 1. (voreingestellt)/member + bei 0. (voreingestellt)/member memberliteralOCI_RETURN_NULLS/literal Gibt auch leere Spalten zurück./member memberliteralOCI_RETURN_LOBS/literal Gibt den Wert eines LOBs zurück, anstatt nur des Descriptors./member @@ -1433,7 +1433,7 @@ refentry id=function.ocicancel refnamediv refnameOCICancel/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1444,7 +1444,7 @@ /funcprototype /funcsynopsis simpara - Coming soon. + Kommt noch. /simpara /refsect1 /refentry @@ -1452,7 +1452,7 @@ refentry id=function.ociwritelobtofile refnamediv refnameOCIWriteLobToFile/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1466,7 +1466,7 @@ /funcprototype /funcsynopsis simpara - Coming soon. + Kommt noch. /simpara /refsect1 /refentry @@ -1474,7 +1474,7 @@ refentry id=function.ocisavelobfile refnamediv refnameOCISaveLobFile/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1485,7 +1485,7 @@ /funcprototype /funcsynopsis simpara - Coming soon. + Kommt noch. /simpara /refsect1 /refentry @@ -1493,7 +1493,7 @@ refentry id=function.ocisavelob refnamediv refnameOCISaveLob/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1504,7 +1504,7 @@ /funcprototype /funcsynopsis simpara - Coming soon. + Kommt noch. /simpara /refsect1 /refentry @@ -1512,7 +1512,7 @@ refentry id=function.ociloadlob refnamediv refnameOCILoadLob/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1523,7 +1523,7 @@ /funcprototype /funcsynopsis simpara - Coming soon. + Kommt noch. /simpara /refsect1 /refentry @@ -1531,7 +1531,7 @@ refentry id=function.ocicolumnscale refnamediv refnameOCIColumnScale/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1543,7 +1543,7 @@ /funcprototype /funcsynopsis simpara - Coming soon. + Kommt noch. /simpara /refsect1 /refentry @@ -1551,7 +1551,7 @@ refentry id=function.ocicolumnprecision refnamediv refnameOCIColumnPrecision/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1563,7 +1563,7 @@ /funcprototype /funcsynopsis simpara - Coming soon. + Kommt noch. /simpara /refsect1 /refentry @@ -1571,7 +1571,7 @@ refentry id=function.ocicolumntyperaw refnamediv refnameOCIColumnTypeRaw/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1583,7 +1583,7 @@ /funcprototype /funcsynopsis simpara - Coming soon. + Kommt noch. /simpara /refsect1 /refentry @@ -1591,7 +1591,7 @@ refentry id=function.ocinewcollection refnamediv refnameOCINewCollection/refname -refpurposeComing soon./refpurpose +refpurposeKommt noch./refpurpose /refnamediv refsect1 titleBeschreibung/title @@ -1604,7 +1604,7 @@ /funcprototype /funcsynopsis
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
jeroen Sat Jun 23 19:53:18 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: Fixed duplicate function documentation in OCI8. (make test...) Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.23 phpdoc/en/functions/oci8.xml:1.24 --- phpdoc/en/functions/oci8.xml:1.23 Sat Jun 23 12:18:33 2001 +++ phpdoc/en/functions/oci8.xmlSat Jun 23 19:53:18 2001 @@ -1748,25 +1748,6 @@ /refsect1 /refentry - refentry id=function.ocifreecollection - refnamediv -refnameOCIFreeCollection/refname -refpurposeComing soon./refpurpose - /refnamediv - refsect1 -titleDescription/title -funcsynopsis - funcprototype - funcdefstring functionOCIFreeCollection/function/funcdef - paramdefobject parameterlob/parameter/paramdef - /funcprototype -/funcsynopsis -simpara - Coming soon. -/simpara - /refsect1 - /refentry - refentry id=function.ocicollassign refnamediv refnameOCICollAssign/refname
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
sterlingTue May 8 09:06:54 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: Fix a typo. Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.21 phpdoc/en/functions/oci8.xml:1.22 --- phpdoc/en/functions/oci8.xml:1.21 Sun May 6 19:22:52 2001 +++ phpdoc/en/functions/oci8.xmlTue May 8 09:06:54 2001 @@ -1360,8 +1360,8 @@ var_dump($data); } -OCIFreeCursor($stmt); -OCIFreeStatement($curs); +OCIFreeStatement($stmt); +OCIFreeCursor($curs); OCILogoff($conn); ? /programlisting
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
sterlingSun May 6 18:35:02 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: Fix OCINewDescriptor() example Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.19 phpdoc/en/functions/oci8.xml:1.20 --- phpdoc/en/functions/oci8.xml:1.19 Sat May 5 21:42:23 2001 +++ phpdoc/en/functions/oci8.xmlSun May 6 18:35:01 2001 @@ -260,7 +260,13 @@ records just after the insert. */ -$conn = OCILogon(scott,tiger); +$conne { + // $lob_upload contains the temporary filename of the uploaded file + $conn = OCILogon($user, $password); + $lob = OCINewDescriptor($conn, OCI_D_LOB); + $stmt = OCIParse($conn,insert into $table (id, the_blob) + values(my_seq.NEXTVAL, EMPTY_B += OCILogon(scott,tiger); $stmt = OCIParse($conn,insert into emp (empno, ename) . values (:empno,:ename) . @@ -769,7 +775,7 @@ $stmt = OCIParse($conn,insert into $table (id, the_blob) values(my_seq.NEXTVAL, EMPTY_BLOB()) returning the_blob into :the_blob); OCIBindByName($stmt, ':the_blob', amp;$lob, -1, OCI_B_BLOB); - OCIExecute($stmt); + OCIExecute($stmt, OCI_DEFAULT); if($lob-savefile($lob_upload)){ OCICommit($conn); echo Blob successfully uploaded\n;
Re: [PHP-DOC] cvs: phpdoc /en/functions oci8.xml
On Mon, 7 May 2001, Sterling Hughes wrote: sterling Sun May 6 18:35:02 2001 EDT Modified files: /phpdoc/en/functions oci8.xml Log: Fix OCINewDescriptor() example Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.19 phpdoc/en/functions/oci8.xml:1.20 --- phpdoc/en/functions/oci8.xml:1.19 Sat May 5 21:42:23 2001 +++ phpdoc/en/functions/oci8.xml Sun May 6 18:35:01 2001 @@ -260,7 +260,13 @@ records just after the insert. */ -$conn = OCILogon(scott,tiger); +$conne { + // $lob_upload contains the temporary filename of the uploaded file + $conn = OCILogon($user, $password); + $lob = OCINewDescriptor($conn, OCI_D_LOB); + $stmt = OCIParse($conn,insert into $table (id, the_blob) + values(my_seq.NEXTVAL, EMPTY_B += OCILogon(scott,tiger); HUH?? HOw'd this get in there :) changing that ;) _Sterling $stmt = OCIParse($conn,insert into emp (empno, ename) . values (:empno,:ename) . @@ -769,7 +775,7 @@ $stmt = OCIParse($conn,insert into $table (id, the_blob) values(my_seq.NEXTVAL, EMPTY_BLOB()) returning the_blob into :the_blob); OCIBindByName($stmt, ':the_blob', amp;$lob, -1, OCI_B_BLOB); - OCIExecute($stmt); + OCIExecute($stmt, OCI_DEFAULT); if($lob-savefile($lob_upload)){ OCICommit($conn); echo Blob successfully uploaded\n;
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml
jah Sun Apr 1 09:44:57 2001 EDT Modified files: /phpdoc/it/functionsoci8.xml Log: Fixed incorrect closing tag. Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.6 phpdoc/it/functions/oci8.xml:1.7 --- phpdoc/it/functions/oci8.xml:1.6Mon Mar 26 08:10:54 2001 +++ phpdoc/it/functions/oci8.xmlSun Apr 1 09:44:57 2001 @@ -1198,7 +1198,7 @@ functionOCIColumnType/function restituisce il tipo del campo corrispondente alla posizione (1 = primo campo) specificata. - /simpara + /para para example titleOCIColumnType/title
[PHP-DOC] cvs: phpdoc /it/functions oci8.xml
peruginiMon Mar 26 08:10:54 2001 EDT Modified files: /phpdoc/it/functionsoci8.xml Log: Translated by Marco Cucinato. Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.5 phpdoc/it/functions/oci8.xml:1.6 --- phpdoc/it/functions/oci8.xml:1.5Tue Oct 31 00:11:07 2000 +++ phpdoc/it/functions/oci8.xmlMon Mar 26 08:10:54 2001 @@ -1,79 +1,182 @@ reference id="ref.oci8" - titleOracle 8 functions/title + titleFunzioni Oracle 8/title titleabbrevOCI8/titleabbrev partintro - simpara -These functions allow you to access Oracle8 and Oracle7 databases. It -uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client -libraries to use this extension./simpara - simpara -This extension is more flexible than the standard Oracle -extension. It supports binding of global and local PHP variables -to Oracle placeholders, has full LOB, FILE and ROWID support -and allows you to use user-supplied define variables./simpara + para +Queste funzioni permettono di accedere ai database Oracle8 e Oracle7. +Usano la Call-Interface di Oracle8 (OCI8). Occorre avere installate le librerie +client +di Oracle8 per utilizzare questa estensione. + /para + para +Questa estensione e' piu' flessibile della estensione standard di Oracle. +Supporta il binding di variabili PHP locali e globali +ai segnaposto Oracle, ha pieno supporto di LOB, FILE e ROWID +e permette di utilizzare variabili di definizione personalizzabili. + /para + para +Prima di usare questa estensione, occorre sicerarsi di aver impostato +le variabili d'ambiente per l'utente Oracle, come pure +per l'utente del server web. Le variabili che potrebbero necessitare +l'impostazione sono +le seguenti: +itemizedlist + listitem + simpara + ORACLE_HOME + /simpara + /listitem + listitem + simpara + ORACLE_SID + /simpara + /listitem + listitem + simpara + LD_PRELOAD + /simpara + /listitem + listitem + simpara + LD_LIBRARY_PATH + /simpara + /listitem + listitem + simpara + NLS_LANG + /simpara + /listitem + listitem + simpara + ORA_NLS33 + /simpara + /listitem +/itemizedlist + /para + para +Dopo aver impostato le variabili d'ambiente per l'utente del server web, +occorre sicerarsi di aver aggiunto anche l'utente stesso (nobody, www) al gruppo +oracle. + /para + note +titleSe il server web non parte o va in blocco/title +para + Controllare che apache sia linkato con la libreria pthread: +/para +para + informalexample + programlisting +# ldd /www/apache/bin/httpd +libpthread.so.0 = /lib/libpthread.so.0 (0x4001c000) +libm.so.6 = /lib/libm.so.6 (0x4002f000) +libcrypt.so.1 = /lib/libcrypt.so.1 (0x4004c000) +libdl.so.2 = /lib/libdl.so.2 (0x4007a000) +libc.so.6 = /lib/libc.so.6 (0x4007e000) +/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) + /programlisting + /informalexample +/para +para + Se la libpthread non compare nell'elenco, occorre reinstallare Apache: +/para +para + informalexample + programlisting +# cd /usr/src/apache_1.3.xx +# make clean +# LIBS=-lpthread ./config.status +# make +# make install + /programlisting + /informalexample +/para + /note + para +example + titleOCI Hints/title + programlisting role="php" +lt;?php +// by [EMAIL PROTECTED] + +// Use option: OCI_DEFAULT for execute command to delay execution +OCIExecute($stmt, OCI_DEFAULT); + +// for retrieve data use (after fetch): + +$result = OCIResult($stmt, $n); +if (is_object ($result)) $result = $result-gt;load(); + +// For INSERT or UPDATE statement use: + +$sql = "insert into table (field1, field2) values (field1 = 'value', + field2 = empty_clob()) returning field2 into :field2"; +OCIParse($conn, $sql); +$clob = OCINewDescriptor($conn, OCI_D_LOB); +OCIBindByName ($stmt, ":field2", amp;$clob, -1, OCI_B_CLOB); +OCIExecute($stmt, OCI_DEFAULT); +$clob-gt;save ("some text"); + +?gt; + /programlisting +/example + /para + para +You can easily access stored procedures in the same way as you +would from the commands line. +example + titleUsing Stored Procedures/title + programlisting role="php" +lt;?php +// by [EMAIL PROTECTED] +$sth = OCIParse ( $dbh, "begin sp_newaddress( :address_id, '$firstname', + '$lastname', '$company', '$address1', '$address2', '$city', '$state', + '$postalcode', '$country', :error_code );end;" ); + +// This calls stored procedure sp_newaddress, with :address_id being an +// in/out variable and :error_code being an out variable. +// Then you do the binding: + + OCIBindByName ( $sth, ":address_id", $addr_id, 10 ); + OCIBindByName ( $sth, ":error_code", $errorcode, 10 ); +
[PHP-DOC] cvs: phpdoc /en/functions oci8.xml
sniper Tue Mar 6 08:40:55 2001 EDT Modified files: /phpdoc/en/functionsoci8.xml Log: Added notes about what to do if Apache doesn't start after configuring PHP with Oracle. I hope this would reduce the amount of those bug reports coming in about the same problem. This can be changed whenever the problem is really fixed in glibc..? Index: phpdoc/en/functions/oci8.xml diff -u phpdoc/en/functions/oci8.xml:1.16 phpdoc/en/functions/oci8.xml:1.17 --- phpdoc/en/functions/oci8.xml:1.16 Sat Jan 20 13:08:27 2001 +++ phpdoc/en/functions/oci8.xmlTue Mar 6 08:40:55 2001 @@ -56,6 +56,39 @@ be sure to also add the webserver user (nobody, www) to the oracle group. /para + note +titleIf your webserver doesn't start or crashes at startup/title +para + Check that Apache is linked with the pthread library: +/para +para + informalexample + programlisting +# ldd /www/apache/bin/httpd +libpthread.so.0 = /lib/libpthread.so.0 (0x4001c000) +libm.so.6 = /lib/libm.so.6 (0x4002f000) +libcrypt.so.1 = /lib/libcrypt.so.1 (0x4004c000) +libdl.so.2 = /lib/libdl.so.2 (0x4007a000) +libc.so.6 = /lib/libc.so.6 (0x4007e000) +/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) + /programlisting + /informalexample +/para +para + If the libpthread is not listed you have to reinstall Apache: +/para +para + informalexample + programlisting +# cd /usr/src/apache_1.3.xx +# make clean +# LIBS=-lpthread ./config.status +# make +# make install + /programlisting + /informalexample +/para + /note para example titleOCI Hints/title
[PHP-DOC] cvs: phpdoc /kr/functions oci8.xml
fuzzy74 Sun Feb 25 07:00:34 2001 EDT Modified files: /phpdoc/kr/functionsoci8.xml Log: English - Korean Translated by taeyoung,Jin. Modified Files : oci8.xml Thank you. Index: phpdoc/kr/functions/oci8.xml diff -u phpdoc/kr/functions/oci8.xml:1.2 phpdoc/kr/functions/oci8.xml:1.3 --- phpdoc/kr/functions/oci8.xml:1.2Fri Jan 12 06:16:40 2001 +++ phpdoc/kr/functions/oci8.xmlSun Feb 25 07:00:30 2001 @@ -3,21 +3,20 @@ titleabbrevOCI8/titleabbrev partintro para -These functions allow you to access Oracle8 and Oracle7 databases. -It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 -client libraries to use this extension. + 이 함수들은 Oracle8과 Oracle7 데이터베이스를 접근할 +수 있도록 해준다. + 이것은 Oracle8 Call-Interface (OCI8)를 사용한다. + 이 드라이버를 사용하려면 Oracle8 client libraries가 +필요하다. /para para -This extension is more flexible than the standard Oracle -extension. It supports binding of global and local PHP variables -to Oracle placeholders, has full LOB, FILE and ROWID support -and allows you to use user-supplied define variables. + 이 드라이버는 보통의 PHP Ora_ 드라이버보다 더욱 +유연하다. + 이것은 PHP의 전역, 지역 변수들의 Oracle placeholder로의 +binding을 지원하고, + full LOB와 FILE, ROWID를 지원하며, user-supplied define +variable을 + 사용할 수 있도록 해 준다. /para para -Before using this extension, make sure that you have set up your -oracle environment variables properly for the Oracle user, as well -as your web daemon user. The variables you might need to set are as -follows: + 이 드라이버를 사용하기 전에 오라클 유저와 웹서버 +유저에게 + 유효한 오라클 환경변수를 적용했는지 +확인해야한다. + 적용시킬 환경변수: itemizedlist listitem simpara @@ -52,9 +51,8 @@ /itemizedlist /para para -After setting up the environment variables for your webserver user, -be sure to also add the webserver user (nobody, www) to the oracle -group. + 웹서버 유저에게 환경변수를 적용한후에, + 웹서버 유저(nobody, www)를 오라클 그룹에 추가했는지 +확인해야 한다. /para para example @@ -86,10 +84,10 @@ /example /para para -You can easily access stored procedures in the same way as you -would from the commands line. + command-line에서 내장 프로시저(stored procedures)를 +쓰는것처럼 + 사용이 간편하다. example - titleUsing Stored Procedures/title + title내장 프로시저(Stored Procedures) 사용하기/title programlisting role="php" lt;?php // by [EMAIL PROTECTED] @@ -115,7 +113,7 @@ refnamediv refnameOCIDefineByName/refname refpurpose - Use a PHP variable for the define-step during a SELECT +SELECT 구문을 사용하는 동안 정의단계(define-step)를 +위한 PHP 변수를 할당한다. /refpurpose /refnamediv refsect1 @@ -131,19 +129,18 @@ /funcprototype /funcsynopsis para - functionOCIDefineByName/function uses fetches SQL-Columns - into user-defined PHP-Variables. Be careful that Oracle user - ALL-UPPERCASE column-names, whereby in your select you can also - write lower-case. functionOCIDefineByName/function expects - the parameterColumn-Name/parameter to be in uppercase. If you - define a variable that doesn't exists in you select statement, no - error will be given! + functionOCIDefineByName/function페치(fetch)한 컬럼을 사용자정의 +변수 + 에 할당한다. + 물론, 오라클 유저는 select 구문에서 소문자 컬럼명을 쓸수 +있지만, + functionOCIDefineByName/function함수의 + parameterColumn-Name/parameter인수는 반드시 대문자로 적어야 +한다. + select 구문에서 존재하지도 않는 변수를 선언해도, 에러는 +발생하지않을것이다! /para para - If you need to define an abstract Datatype (LOB/ROWID/BFILE) you - need to allocate it first using - functionOCINewDescriptor/function function. See also the - functionOCIBindByName/function function. + 추상 데이터타입(LOB/ROWID/BFILE)을 다룰 때는 + functionOCINewDescriptor/function함수를 사용하여 + 그 컬럼에 대한 변수영역을 미리 할당해야 한다. + functionOCIBindByName/function를 보시오. /para example titleOCIDefineByName/title @@ -179,6 +176,7 @@ refnamediv refnameOCIBindByName/refname refpurpose + 오라클 위치보유자(Placeholder)를 PHP 변수에 연계(bind)시킨다. Bind a PHP variable to an Oracle Placeholder /refpurpose /refnamediv
[PHP-DOC] cvs: phpdoc /kr/functions oci8.xml
fuzzy74 Sun Feb 25 09:27:03 2001 EDT Modified files: /phpdoc/kr/functionsoci8.xml Log: english - korean translated by taeyoung,Jin (100%) Index: phpdoc/kr/functions/oci8.xml diff -u phpdoc/kr/functions/oci8.xml:1.4 phpdoc/kr/functions/oci8.xml:1.5 --- phpdoc/kr/functions/oci8.xml:1.4Sun Feb 25 07:11:58 2001 +++ phpdoc/kr/functions/oci8.xmlSun Feb 25 09:27:03 2001 @@ -1,9 +1,9 @@ reference id="ref.oci8" - titleOracle 8 functions/title + title오라클 8 함수/title titleabbrevOCI8/titleabbrev partintro para - 이 함수들은 Oracle8과 Oracle7 데이터베이스를 접근할 수 있도록 해준다. + 이 함수들은 Oracle8과 Oracle7 데이터베이스에 접근할 +수 있도록 해준다. 이것은 Oracle8 Call-Interface (OCI8)를 사용한다. 이 드라이버를 사용하려면 Oracle8 client libraries가 필요하다. /para @@ -113,7 +113,8 @@ refnamediv refnameOCIDefineByName/refname refpurpose -SELECT 구문을 사용하는 동안 정의단계(define-step)를 위한 PHP 변수를 할당한다. +SELECT 구문(Statement)을 사용하는 동안 +정의단계(define-step)를 위한 + PHP 변수를 할당한다. /refpurpose /refnamediv refsect1 @@ -129,8 +130,8 @@ /funcprototype /funcsynopsis para - functionOCIDefineByName/function페치(fetch)한 컬럼을 사용자정의 변수 - 에 할당한다. + functionOCIDefineByName/function함수는 + 페치(fetch)한 컬럼을 사용자정의 변수 에 할당한다. 물론, 오라클 유저는 select 구문에서 소문자 컬럼명을 쓸수 있지만, functionOCIDefineByName/function함수의 parameterColumn-Name/parameter인수는 반드시 대문자로 적어야 한다. @@ -177,7 +178,6 @@ refnameOCIBindByName/refname refpurpose 오라클 위치보유자(Placeholder)를 PHP 변수에 연계(bind)시킨다. - Bind a PHP variable to an Oracle Placeholder /refpurpose /refnamediv refsect1 @@ -194,24 +194,25 @@ /funcprototype /funcsynopsis para - functionOCIBindByName/function binds the PHP variable - parametervariable/parameter to the Oracle placeholder - parameterph_name/parameter. Whether it will be used for - input or output will be determined run-time, and the necessary - storage space will be allocated. The - parameterlength/parameter parameter sets the maximum length - for the bind. If you set parameterlength/parameter to -1 - functionOCIBindByName/function will use the current length of - parametervariable/parameter to set the maximum length. -/para -para - If you need to bind an abstract Datatype (LOB/ROWID/BFILE) you - need to allocate it first using - functionOCINewDescriptor/function function. The - parameterlength/parameter is not used for abstract Datatypes - and should be set to -1. The parametertype/parameter variable - tells oracle, what kind of descriptor we want to use. Possible - values are: OCI_B_FILE (Binary-File), OCI_B_CFILE + functionOCIBindByName/function함수는 PHP 변수 + parametervariable/parameter에 오라클 위치보유자(Oracle +placeholder)인 + parameterph_name/parameter변수에 연계시킨다. + 용도가 입력인지 출력인지는 실시간으로 결정될것이고, + 충분한 저장 공간이 할당될 필요가 있다. +parameterlength/parameter인수 + 는 바인드를 위한 최대 길이를 세팅한다. +parameterlength/parameter인수를 + -1로 세팅하면 functionOCIBindByName/function함수는 + 바인드를 위한 최대 길이를 parametervariable/parameter의 + 현재 길이로 사용할것이다. +/para +para + 추상형 데이터타입(LOB/ROWID/BFILE)을 바인드 할 필요가 있다면 + 우선은 functionOCINewDescriptor/function함수를 사용해서 + 변수를 할당해야 한다. + parameterlength/parameter인수는 추상형 데이터타입 + 을 위해 사용되지 않는다. 이때 이 값은 -1이 되어야 한다. + parametertype/parameter변수는 오라클에서 현재 어떤 종류의 + descriptor가 사용되는지 알려준다. 가능한 값은 다음과 같다: + OCI_B_FILE (Binary-File), OCI_B_CFILE (Character-File), OCI_B_CLOB (Character-LOB), OCI_B_BLOB (Binary-LOB) and OCI_B_ROWID (ROWID). /para @@ -286,8 +287,7 @@ refentry id="function.ocilogon" refnamediv refnameOCILogon/refname -refpurposeEstablishes a connection to Oracle/refpurpose -refpurpose오라클 접속을 구축한다./refpurpose +refpurpose오라클 접속을 형성한다./refpurpose /refnamediv refsect1 titleDescription/title @@ -309,17 +309,12 @@ 환경변수 ORACLE_SID(Oracle instance) 또는 TWO_TASK(tnsnames.ora)를 이용한다. /para -paraConnections are shared at the page level when using -para이 함수를 사용할때마다 각 접속은 페이지 레벨에서 분배되어진다. - functionOCILogon/function. This means that commits and - rollbacks apply to all open transactions in the page, even if you - have created multiple connections. - functionOCILogon/function. 이것은 각 페이지에서 열린 모든 +parafunctionOCILogon/function 함수를 사용할때마다 각 접속은 +페이지 레벨에서 분배되어진다. 이것은 각 페이지에서 열린 +모든 트랜잭션에 커밋(commits)과 롤백(rollbacks)이 적용되어진다는 것을 의미한다. 두개이상의 접속을 만들지라도. /para para - This example demonstrates how the connections are shared. 아래 예제는 접속이 어떻게 분배되는가를 보여준다. example titleOCILogon/title @@ -447,8 +442,6 @@ refentry id="function.ocinlogon" refnamediv refnameOCINLogon/refname -refpurposeConnect to an Oracle database and log on using a new -connection. Returns a
[PHP-DOC] cvs: phpdoc /kr/functions oci8.xml
fuzzy74 Sun Feb 25 10:15:10 2001 EDT Modified files: /phpdoc/kr/functionsoci8.xml Log: encoding otf8 Index: phpdoc/kr/functions/oci8.xml diff -u phpdoc/kr/functions/oci8.xml:1.5 phpdoc/kr/functions/oci8.xml:1.6 --- phpdoc/kr/functions/oci8.xml:1.5Sun Feb 25 09:27:03 2001 +++ phpdoc/kr/functions/oci8.xmlSun Feb 25 10:15:10 2001 @@ -75,7 +75,7 @@ field2 = empty_clob()) returning field2 into :field2"; OCIParse($conn, $sql); $clob = OCINewDescriptor($conn, OCI_D_LOB); -OCIBindByName ($stmt, ":field2", $clob, -1, OCI_B_CLOB); +OCIBindByName ($stmt, ":field2", amp;$clob, -1, OCI_B_CLOB); OCIExecute($stmt, OCI_DEFAULT); $clob-save ("some text");