2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-03-22 15:16:22 +00:00
|
|
|
<!-- $Revision: 1.8 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- 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>
|
2003-07-15 17:59:36 +00:00
|
|
|
<function>getallheaders</function> is an alias for
|
|
|
|
<function>apache_request_headers</function>. It will return an
|
2002-07-11 21:34:24 +00:00
|
|
|
associative array of all the HTTP headers in the current request.
|
2003-07-15 17:59:36 +00:00
|
|
|
Please read the <function>apache_request_headers</function>
|
2002-07-11 21:34:24 +00:00
|
|
|
documentation for more information on how this function works.
|
2002-04-15 00:12:54 +00:00
|
|
|
</para>
|
2002-07-11 21:42:57 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
2003-07-15 17:59:36 +00:00
|
|
|
In PHP 4.3.0, <function>getallheaders</function> became an
|
2002-07-11 21:42:57 +00:00
|
|
|
alias for <function>apache_request_headers</function>.
|
2003-07-15 17:59:36 +00:00
|
|
|
Essentially, it was renamed. This is because this function
|
|
|
|
only works when PHP is compiled as an
|
2002-07-11 21:42:57 +00:00
|
|
|
<productname>Apache</productname> Module.
|
|
|
|
</para>
|
|
|
|
</note>
|
2004-03-22 15:16:22 +00:00
|
|
|
¬e.apache.nsapi-module;
|
2002-04-15 00:12:54 +00:00
|
|
|
<para>
|
2002-07-11 21:34:24 +00:00
|
|
|
See also <function>apache_request_headers</function>.
|
2002-04-15 00:12:54 +00:00
|
|
|
</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
|
|
|
|
-->
|