cvs: phpdoc /it Translators /it/functions aspell.xml bzip2.xml oci8.xml

From: Date: Wed, 21 Nov 2001 21:56:21 +0000
Subject: cvs: phpdoc /it Translators /it/functions aspell.xml bzip2.xml oci8.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339100@lists.php.net to get a copy of this message
cucinato Wed Nov 21 16:56:21 2001 EDT Modified files: /phpdoc/it Translators /phpdoc/it/functions aspell.xml bzip2.xml oci8.xml Log: Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.89 phpdoc/it/Translators:1.90 --- phpdoc/it/Translators:1.89 Wed Nov 21 16:35:07 2001 +++ phpdoc/it/Translators Wed Nov 21 16:56:21 2001 @@ -80,7 +80,7 @@ array.xml cucinato T1.127 aspell.xml cucinato T1.18 bc.xml cucinato T1.17 -bzip2.xml cucinato T1.11 +bzip2.xml cucinato T1.12 calendar.xml cucinato A1.16 ccvs.xml classobj.xml Index: phpdoc/it/functions/aspell.xml diff -u phpdoc/it/functions/aspell.xml:1.14 phpdoc/it/functions/aspell.xml:1.15 --- phpdoc/it/functions/aspell.xml:1.14 Wed Nov 21 16:35:07 2001 +++ phpdoc/it/functions/aspell.xml Wed Nov 21 16:56:21 2001 @@ -165,7 +165,7 @@ $suggerimenti = aspell_suggest($aspell_link, "prova"); foreach ($suggerimenti as $suggerimento) { - echo "Possibile parola corretta: $suggerimento&lt;br>\n"; + echo "Possibile parola corretta: $suggerimento<br>\n"; } } ]]> Index: phpdoc/it/functions/bzip2.xml diff -u phpdoc/it/functions/bzip2.xml:1.4 phpdoc/it/functions/bzip2.xml:1.5 --- phpdoc/it/functions/bzip2.xml:1.4 Mon Nov 12 09:05:15 2001 +++ phpdoc/it/functions/bzip2.xml Wed Nov 21 16:56:21 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.11 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.12 Maintainer: cucinato Status: ready --> <reference id="ref.bzip2"> <title>Funzioni di compressione Bzip2</title> <titleabbrev>Bzip2</titleabbrev> @@ -25,10 +25,11 @@ <example> <title>breve esempio di bzip2</title> <programlisting role="php"> -&lt;?php +<![CDATA[ +<?php $nomefile = "/tmp/filediprova.bz2"; -$str = "Questa &egrave; una stringa di prova.\n"; +$str = "Questa è una stringa di prova.\n"; // apre il file in lettura $bz = bzopen($nomefile, "w"); @@ -51,6 +52,7 @@ bzclose($bz); ?> +]]> </programlisting> </example> </sect1> @@ -129,11 +131,14 @@ <para> <example> <title>Esempio di <function>bzcompress</function></title> - <programlisting role="php">&lt;?php + <programlisting role="php"> +<![CDATA[ +<?php $str = "dati di prova"; $bzstr = bzcompress($str, 9); print( $bzstr ); ?> +]]> </programlisting> </example> </para> @@ -173,19 +178,22 @@ <para> <example> <title><function>bzdecompress</function></title> - <programlisting role="php">&lt;?php + <programlisting role="php"> +<![CDATA[ +<?php $stringa_iniziale = "Sto facendo il mio lavoro?"; $bzstr = bzcompress($start_str); print( "Stirnga Compressa: " ); print( $bzstr ); -print( "\n&lt;br&gt;n" ); +print( "\n<br>n" ); $stringa = bzdecompress($bzstr); print( "Stringa Decompressa: " ); print( $str ); -print( "\n&lt;br&gt;n" ); +print( "\n<br>n" ); ?> +]]> </programlisting> </example> </para> @@ -241,12 +249,15 @@ <para> <example> <title>Esempio di <function>bzerror</function></title> - <programlisting role="php">&lt;?php + <programlisting role="php"> +<![CDATA[ +<?php $errore = bzerror($bz); echo $errore["errno"]; echo $errore["errstr"]; ?> +]]> </programlisting> </example> </para> @@ -335,15 +346,18 @@ <para> <example> <title>Esempio di<function>bzopen</function></title> - <programlisting role="php">&lt;?php + <programlisting role="php"> +<![CDATA[ +<?php $bz = bzopen("/tmp/foo.bz2", "r"); $file_decompresso = bzread($bz, filesize("/tmp/foo.bz2")); bzclose($bz); -print( "Il contenuto di /tmp/foo.bz2 &egrave;: " ); -print( "\n&lt;br&gt;n" ); +print( "Il contenuto di /tmp/foo.bz2 è: " ); +print( "\n<br>n" ); print( $file_decompresso ); ?> +]]> </programlisting> </example> </para> @@ -383,11 +397,14 @@ <para> <example> <title>Esempio di <function>bzread</function></title> - <programlisting role="php">&lt;?php + <programlisting role="php"> +<![CDATA[ +<?php $bz = bzopen("/tmp/foo.bz2", "r"); $str = bzread($bz, 2048); print( $str ); ?> +]]> </programlisting> </example> </para> @@ -426,12 +443,15 @@ <para> <example> <title>Esempio di <function>bzwrite</function></title> - <programlisting role="php">&lt;?php + <programlisting role="php"> +<![CDATA[ +<?php $str = "dati non compressi"; $bz = bzopen("/tmp/foo.bz2", "w"); bzwrite($bz, $str, strlen($str)); bzclose($bz); ?> +]]> </programlisting> </example> </para> Index: phpdoc/it/functions/oci8.xml diff -u phpdoc/it/functions/oci8.xml:1.17 phpdoc/it/functions/oci8.xml:1.18 --- phpdoc/it/functions/oci8.xml:1.17 Mon Nov 12 09:06:36 2001 +++ phpdoc/it/functions/oci8.xml Wed Nov 21 16:56:21 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> - <!-- EN-Revision: 1.34 Maintainer: cucinato Status: ready --> + <!-- EN-Revision: 1.35 Maintainer: cucinato Status: ready --> <reference id="ref.oci8"> <title>Funzioni Oracle 8</title> <titleabbrev>OCI8</titleabbrev> @@ -65,7 +65,8 @@ </para> <para> <informalexample> - <programlisting> + <screen> +<![CDATA[ # ldd /www/apache/bin/httpd libpthread.so.0 => /lib/libpthread.so.0 (0x4001c000) libm.so.6 => /lib/libm.so.6 (0x4002f000) @@ -73,7 +74,8 @@ 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 (0x40000000) - </programlisting> +]]> + </screen> </informalexample> </para> <para> @@ -81,21 +83,24 @@ </para> <para> <informalexample> - <programlisting> + <screen> +<![CDATA[ # cd /usr/src/apache_1.3.xx # make clean # LIBS=-lpthread ./config.status # make # make install - </programlisting> +]]> + </screen> </informalexample> </para> </note> <para> <example> <title>OCI Hints</title> - <programlisting role="php"> -&lt;?php + <programlisting role="php"> +<![CDATA[ +<?php // by sergo@bacup.ru // Use option: OCI_DEFAULT for execute command to delay execution @@ -104,7 +109,7 @@ // for retrieve data use (after fetch): $result = OCIResult($stmt, $n); -if (is_object ($result)) $result = $result-&gt;load(); +if (is_object ($result)) $result = $result->load(); // For INSERT or UPDATE statement use: @@ -112,12 +117,13 @@ 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); +OCIBindByName ($stmt, ":field2", &$clob, -1, OCI_B_CLOB); OCIExecute($stmt, OCI_DEFAULT); -$clob-&gt;save ("some text"); +$clob->save ("some text"); OCICommit($conn); -?&gt; +?> +]]> </programlisting> </example> </para>

« previous php.doc (#969339100) next »