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

From: Date: Sat, 24 Aug 2002 12:51:52 +0000
Subject: cvs: phpdoc-nl /reference/apache/functions apache-request-headers.xml
Groups: php.doc.nl 
Request: Send a blank email to doc-nl+get-128@lists.php.net to get a copy of this message
sachat Sat Aug 24 08:51:52 2002 EDT Added files: /phpdoc-nl/reference/apache/functions apache-request-headers.xml Log: Added because of wrong filename (replaced '_' with '-' ) Index: phpdoc-nl/reference/apache/functions/apache-request-headers.xml +++ phpdoc-nl/reference/apache/functions/apache-request-headers.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: sander Status: ready --> <refentry id="function.getallheaders"> <refnamediv> <refname>apache_request_headers</refname> <refpurpose>Vraag alle HTTP request headers op</refpurpose> </refnamediv> <refsect1> <title>Beschrijving</title> <methodsynopsis> <type>array</type><methodname>getallheaders</methodname> <void/> </methodsynopsis> <para> <function>apache_request_headers</function> geeft een associatieve array terug met daarin alle HTTP headers behorende bij het huidige request. Dit werkt alleen als PHP als een <productname>Apache</productname> module draait. </para> <para> <note> Voor PHP 4.3.0 heette <function>apache_request_headers</function> <function>getallheaders</function>. Vanaf PHP 4.3.0 is <function>getallheaders</function> een alias voor <function>apache_request_headers</function>. </note> </para> <para> <example> <title>Voorbeeld met <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> Het is ook mogelijk om de waarden van alle normale CGI variabelen op te vragen door deze te lezen uit de omgeving, dat werkt ook als PHP niet als <productname>Apache</productname> module draait. Gebruik de <function>phpinfo</function> functie om de lijst op te vragen van alle gedefineerde <link linkend="language.variables.predefined">omgevings variabelen</link>. </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 -->

« previous php.doc.nl (#128) next »