2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 06:30:45 +00:00
|
|
|
<!-- $Revision$ -->
|
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>
|
2009-11-09 10:26:08 +00:00
|
|
|
An array of all Apache response headers on success&return.falseforfailure;.
|
2005-04-02 02:18:32 +00:00
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2011-06-30 12:32:00 +00:00
|
|
|
<refsect1 role="changelog">
|
|
|
|
&reftitle.changelog;
|
|
|
|
<para>
|
|
|
|
<informaltable>
|
|
|
|
<tgroup cols="2">
|
|
|
|
<thead>
|
|
|
|
<row>
|
|
|
|
<entry>&Version;</entry>
|
|
|
|
<entry>&Description;</entry>
|
|
|
|
</row>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2013-12-20 10:41:01 +00:00
|
|
|
<row>
|
|
|
|
<entry>5.5.7</entry>
|
|
|
|
<entry>
|
|
|
|
This function became available in the CLI server.
|
|
|
|
</entry>
|
|
|
|
</row>
|
2011-06-30 12:32:00 +00:00
|
|
|
<row>
|
|
|
|
<entry>5.4.0</entry>
|
|
|
|
<entry>
|
|
|
|
This function became available under FastCGI. Previously, it was
|
2015-04-03 07:48:13 +00:00
|
|
|
supported when PHP was installed as an Apache module or by the
|
|
|
|
<link linkend="book.nsapi">NSAPI server module</link> in Netscape/iPlanet/SunONE
|
|
|
|
webservers.
|
2011-06-30 12:32:00 +00:00
|
|
|
</entry>
|
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</informaltable>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
2005-04-02 02:18:32 +00:00
|
|
|
<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="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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2002-07-11 18:32:18 +00:00
|
|
|
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
|
|
|
|
-->
|