<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 -->
  <refentry id="function.getallheaders">
   <refnamediv>
    <refname>getallheaders</refname>
    <refpurpose>Fetch all HTTP request headers</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>array</type><methodname>getallheaders</methodname>
      <void/>
     </methodsynopsis>
    <para>
     <function>getallheaders</function> is an alias for
     <function>apache_request_headers</function>.  It will return an
     associative array of all the HTTP headers in the current request.
     Please read the <function>apache_request_headers</function>
     documentation for more information on how this function works.
    </para>
    <note>
     <para>
      In PHP 4.3.0, <function>getallheaders</function> became an
      alias for <function>apache_request_headers</function>.
      Essentially, it was renamed.  This is because this function
      only works when PHP is compiled as an
      <productname>Apache</productname> Module.
     </para>
    </note>
    &note.apache.nsapi-module;
    <para>
     See also <function>apache_request_headers</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
-->