2002-07-11 18:32:18 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2008-01-03 18:44:42 +00:00
|
|
|
<!-- $Revision: 1.14 $ -->
|
2002-07-11 18:32:18 +00:00
|
|
|
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<refentry xml:id="function.apache-response-headers" xmlns="http://docbook.org/ns/docbook">
|
2005-04-01 22:55:18 +00:00
|
|
|
<refnamediv>
|
|
|
|
<refname>apache_response_headers</refname>
|
|
|
|
<refpurpose>Fetch all HTTP response headers</refpurpose>
|
|
|
|
</refnamediv>
|
2005-04-02 02:18:32 +00:00
|
|
|
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2005-04-01 22:55:18 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>array</type><methodname>apache_response_headers</methodname>
|
|
|
|
<void/>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2005-04-02 02:18:32 +00:00
|
|
|
Fetch all HTTP response headers.
|
2005-04-01 22:55:18 +00:00
|
|
|
</para>
|
2005-04-02 02:18:32 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
An array of all Apache response headers on success, or &false; on failure.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
2005-04-01 22:55:18 +00:00
|
|
|
<para>
|
|
|
|
<example>
|
|
|
|
<title><function>apache_response_headers</function> example</title>
|
|
|
|
<programlisting role="php">
|
2004-08-10 15:21:32 +00:00
|
|
|
<![CDATA[
|
|
|
|
<?php
|
|
|
|
print_r(apache_response_headers());
|
|
|
|
?>
|
|
|
|
]]>
|
2005-04-01 22:55:18 +00:00
|
|
|
</programlisting>
|
|
|
|
&example.outputs.similar;
|
|
|
|
<screen>
|
2004-08-10 15:21:32 +00:00
|
|
|
<![CDATA[
|
|
|
|
Array
|
|
|
|
(
|
|
|
|
[Accept-Ranges] => bytes
|
|
|
|
[X-Powered-By] => PHP/4.3.8
|
|
|
|
)
|
|
|
|
]]>
|
2005-04-01 22:55:18 +00:00
|
|
|
</screen>
|
|
|
|
</example>
|
|
|
|
</para>
|
2005-04-02 02:18:32 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="notes">
|
|
|
|
&reftitle.notes;
|
2005-04-01 22:55:18 +00:00
|
|
|
¬e.apache.nsapi-module;
|
2005-04-02 02:18:32 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
|
|
&reftitle.seealso;
|
2005-04-01 22:55:18 +00:00
|
|
|
<para>
|
2005-04-02 02:18:32 +00:00
|
|
|
<simplelist>
|
|
|
|
<member><function>apache_request_headers</function></member>
|
|
|
|
<member><function>headers_sent</function></member>
|
2008-01-03 18:44:42 +00:00
|
|
|
<member><function>headers_list</function></member>
|
2005-04-02 02:18:32 +00:00
|
|
|
</simplelist>
|
2005-04-01 22:55:18 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
2002-07-11 18:32:18 +00:00
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
-->
|