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

[email protected] ("Sacha Telgenhof Oude Koehorst")
Newsgroups php.doc.nl
Message-ID <cvssachat1030193512@cvsserver>
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
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.