cvs: phpdoc-it /reference/apache/functions getallheaders.xml /reference/array reference.xml /reference/array/functions natsort.xml /reference/oci8
reference.xml

From: Date: Wed, 17 Jul 2002 02:22:42 +0000
Subject: cvs: phpdoc-it /reference/apache/functions getallheaders.xml /reference/array reference.xml /reference/array/functions natsort.xml /reference/oci8
reference.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-28@lists.php.net to get a copy of this message
cucinato Tue Jul 16 22:22:42 2002 EDT Modified files: /phpdoc-it/reference/apache/functions getallheaders.xml /phpdoc-it/reference/array reference.xml /phpdoc-it/reference/array/functions natsort.xml /phpdoc-it/reference/oci8 reference.xml Log: synced to EN revision Index: phpdoc-it/reference/apache/functions/getallheaders.xml diff -u phpdoc-it/reference/apache/functions/getallheaders.xml:1.2 phpdoc-it/reference/apache/functions/getallheaders.xml:1.3 --- phpdoc-it/reference/apache/functions/getallheaders.xml:1.2 Wed Apr 17 03:05:05 2002 +++ phpdoc-it/reference/apache/functions/getallheaders.xml Tue Jul 16 22:22:41 2002 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/apache.xml, last change in rev 1.1 --> <!-- last change to 'getallheaders' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.24/EN.1.2 --> <refentry id="function.getallheaders"> <refnamediv> @@ -15,42 +15,23 @@ <void/> </methodsynopsis> <para> - Questa funzione restituisce un array associativo di tutti gli - header HTTP nella richiesta corrente. + <function>getallheaders</function> è un alias di + <function>apache_request_headers</function>. Restituisce un + array associativo di tutti gli header HTTP nella richiesta corrente. + Leggere la documentazione di <function>apache_request_headers</function> + per ulteriori informazioni sul funzionamento. </para> + <note> + <para> + Nel PHP 4.3.0 <function>getallheaders</function> è diventata un + alias di <function>apache_request_headers</function>. + In breve, è stata rinominata. Ciò dipende dal fatto che questa funzione + è disponibile soltanto quando PHP è compilato come + modulo di <productname>Apache</productname>. + </para> + </note> <para> - <note> - <para> - Si può anche estrarre il valore delle variabili comuni CGI - leggendole dall'ambiente, il che funziona sia che si stia usando - PHPcome modulo Apache che come CGI. Usare - <function>phpinfo</function> per vedere una lsta di tutte le - variabili d'ambiente definite in questo modo. - </para> - </note> - </para> - <para> - <example> - <title>esempio di <function>getallheaders</function></title> - <programlisting role="php"> -<![CDATA[ -$headers = getallheaders(); -while (list ($header, $valore) = each ($headers)) { - echo "$header: $valore<br />\n"; -} -]]> - </programlisting> - </example> - </para> - <para> - Questo esempio mostrerà tutti gli header della richiesta - corrente. - <note> - <simpara> - <function>getallheaders</function> è attualmente supportato solo - quando PHP è eseguito come modulo <productname>Apache</productname>. - </simpara> - </note> + Vedere anche <function>apache_request_headers</function>. </para> </refsect1> </refentry> Index: phpdoc-it/reference/array/reference.xml diff -u phpdoc-it/reference/array/reference.xml:1.6 phpdoc-it/reference/array/reference.xml:1.7 --- phpdoc-it/reference/array/reference.xml:1.6 Mon Jun 24 20:54:13 2002 +++ phpdoc-it/reference/array/reference.xml Tue Jul 16 22:22:41 2002 @@ -51,8 +51,8 @@ <title>Vedere anche</title> <para> Vedere anche <function>is_array</function>, <function>explode</function>, - <function>implode</function>, <function>split</function> - e <function>join</function>. + <function>implode</function>, <function>split</function>, + <function>preg_split</function> e <function>join</function>. </para> </section> </partintro> Index: phpdoc-it/reference/array/functions/natsort.xml diff -u phpdoc-it/reference/array/functions/natsort.xml:1.3 phpdoc-it/reference/array/functions/natsort.xml:1.4 --- phpdoc-it/reference/array/functions/natsort.xml:1.3 Sun May 12 18:14:11 2002 +++ phpdoc-it/reference/array/functions/natsort.xml Tue Jul 16 22:22:41 2002 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.6 --> <!-- last change to 'natsort' in en/ tree in rev 1.25 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.25 --> <refentry id="function.natsort"> <refnamediv> @@ -28,6 +28,7 @@ <title>esempio di <function>natsort</function></title> <programlisting role="php"> <![CDATA[ +<?php $array1 = $array2 = array ("img12.png", "img10.png", "img2.png", "img1.png"); sort($array1); @@ -37,6 +38,7 @@ natsort($array2); echo "\nOrdinamento naturale\n"; print_r($array2); +?> ]]> </programlisting> </example> Index: phpdoc-it/reference/oci8/reference.xml diff -u phpdoc-it/reference/oci8/reference.xml:1.4 phpdoc-it/reference/oci8/reference.xml:1.5 --- phpdoc-it/reference/oci8/reference.xml:1.4 Sun Jun 30 19:05:48 2002 +++ phpdoc-it/reference/oci8/reference.xml Tue Jul 16 22:22:42 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> - <!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> + <!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <reference id="ref.oci8"> <title>Funzioni Oracle 8</title> <titleabbrev>OCI8</titleabbrev> @@ -94,6 +94,10 @@ </screen> </informalexample> </para> + <para> + Si noti che su alcuni sistemi, come ad esempio UnixWare, la libreria si chiama libthread + invece di libpthread. PHP e Apache devono essere configurati + con EXTRA_LIBS=-lthread. </note> <para> <example>

« previous php.doc.it (#28) next »