cvs: phpdoc-it /reference/apache/functions apache-request-headers.xml apache-response-headers.xml

From: Date: Sun, 25 Aug 2002 17:14:12 +0000
Subject: cvs: phpdoc-it /reference/apache/functions apache-request-headers.xml apache-response-headers.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-76@lists.php.net to get a copy of this message
cucinato Sun Aug 25 13:14:12 2002 EDT Added files: /phpdoc-it/reference/apache/functions apache-request-headers.xml apache-response-headers.xml Log: Initial translation Index: phpdoc-it/reference/apache/functions/apache-request-headers.xml +++ phpdoc-it/reference/apache/functions/apache-request-headers.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: cucinato Status: ready --> <!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --> <refentry id="function.apache-request-headers"> <refnamediv> <refname>apache_request_headers</refname> <refpurpose>Estrae tutti gli header della richiesta HTTP</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>array</type><methodname>apache_request_headers</methodname> <void/> </methodsynopsis> <para> <function>apache_request_headers</function> restituisce un array associativo contenente tutti gli header HTTP nella richiesta corrente. Questa funzionalità è supportata solo quando PHP è un modulo di <productname>Apache</productname>. </para> <note> <para> Prima del PHP 4.3.0, <function>apache_request_headers</function> si chiamava <function>getallheaders</function>. Dopo il PHP 4.3.0, <function>getallheaders</function> è un alias di <function>apache_request_headers</function>. </para> </note> <para> <example> <title>Esempio di <function>apache_request_headers</function></title> <programlisting role="php"> <![CDATA[ <?php $headers = apache_request_headers(); foreach ($headers as $header => $value) { echo "$header: $value <br />\n"; } ?> ]]> </programlisting> </example> </para> <para> <note> <para> &Egrave; possibile ottenere il valore delle variabili comuni CGI anche leggendole dalle variabili di ambiente; questo funziona indipendentemente dal fatto che si stia usando PHP come modulo <productname>Apache</productname>. Utilizzare <function>phpinfo</function> per ottenere una lista di tutte le <link linkend="language.variables.predefined">variabili d'ambiente</link> disponibili. </para> </note> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil 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/reference/apache/functions/apache-response-headers.xml +++ phpdoc-it/reference/apache/functions/apache-response-headers.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: cucinato Status: ready --> <!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 --> <refentry id="function.apache-response-headers"> <refnamediv> <refname>apache_response_headers</refname> <refpurpose> Estrae tutti gli header della risposta HTTP </refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>array</type><methodname>apache_response_headers</methodname> <void/> </methodsynopsis> <para> Restituisce un array contenente tutti gli header della risposta HTTP di Apache. </para> <para> Vedere anche <function>getallheaders</function> e <function>headers_sent</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil 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 -->

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