cvs: phpdoc-fa /reference/apache/functions apache-request-headers.xml
| From: | Pedram Salehpoor | Date: | Mon, 08 Dec 2008 20:43:07 +0000 |
| Subject: | cvs: phpdoc-fa /reference/apache/functions apache-request-headers.xml | ||
| Groups: | php.doc.fa | ||
| Request: | Send a blank email to doc-fa+get-66@lists.php.net to get a copy of this message | ||
psalehpoor Mon Dec 8 20:43:07 2008 UTC
Added files:
/phpdoc-fa/reference/apache/functions apache-request-headers.xml
Log:
translated tp persian
http://cvs.php.net/viewvc.cgi/phpdoc-fa/reference/apache/functions/apache-request-headers.xml?view=markup&rev=1.1
Index: phpdoc-fa/reference/apache/functions/apache-request-headers.xml
+++ phpdoc-fa/reference/apache/functions/apache-request-headers.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1.11 Maintainer: pedram Status: ready -->
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/apache.xml, last change in rev 1.2 -->
<refentry xml:id="function.apache-request-headers" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>apache_request_headers</refname>
<refpurpose>Ø¯Ø±ÛØ§Ùت تÙ
اÙ
سرآÛÙØ¯ÙاÛ
Ø¯Ø±Ø®ÙØ§Ø³Øª HTTP</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>apache_request_headers</methodname>
<void/>
</methodsynopsis>
<para>
تÙ
اÙ
Ø¯Ø±Ø®ÙØ§Ø³ØªâÙØ§Û HTTP را از
Ø¯Ø±Ø®ÙØ§Ø³Øª ÙØ¹ÙÛ Ø¯Ø±ÛØ§Ùت Ù
ÛâÚ©ÙØ¯.
</para>
&apache.req.module;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
ÛÚ© آراÛ٠شرکتâÙ¾Ø°ÛØ± از تÙ
اÙ
سراÛÙØ¯ÙØ§Û HTTP در Ø¯Ø±Ø®ÙØ§Ø³Øª ÙØ¹ÙÛ
ÛØ§ Ù
ÙØ¯Ø§Ø±
&false; در ØµÙØ±Øª شکست.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>Ù
ثاÙ
<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.outputs.similar;
<screen>
<![CDATA[
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0
Host: www.example.com
Connection: Keep-Alive
]]>
</screen>
</example>
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
Ù¾ÛØ´ از PHP 4.3.0, <function>apache_request_headers</function>
Ø¨Ù ÙØ§Ù
<function>getallheaders</function> Ø¨ÙØ¯. پس از PHP 4.3.0,
<function>getallheaders</function> ÛÚ© ÙØ§Ù
جاÛگزÛ٠براÛ
<function>apache_request_headers</function> است.
</para>
</note>
<note>
<para>
Ø´Ù
ا ÙÙ
ÚÙÛÙ Ù
ÛâØªÙØ§ÙÛØ¯
Ù
ÙØ¯Ø§Ø± Ù
ØªØºÛØ±ÙØ§Û Ù
عÙ
ÙÙ CGI را از
Ù
ØÛØ· Ø¨Ø®ÙØ§ÙÛØ¯ Ø§ÙØ¨ØªÙ اÙ
کا٠اÛÙ
اÙ
ر
Ø¨Ù Ø§Ø³ØªÙØ§Ø¯Ù از PHP بر Ù
اجÙÙ
آپاÚÛ Ø¨Ø³ØªÚ¯Û Ø¯Ø§Ø±Ø¯. از
<function>phpinfo</function> Ø¨Ø±Ø§Û ÙÙ
Ø§ÛØ´
ÙÙØ±Ø³Øª تÙ
اÙ
<link linkend="language.variables.predefined">Ù
ØªØºÛØ±ÙاÛ
Ù
ØÛØ·</link> Ù
ÙØ¬Ùد Ø§Ø³ØªÙØ§Ø¯Ù Ú©ÙÛØ¯.
</para>
</note>
¬e.apache.nsapi-module;
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>apache_response_headers</function></member>
</simplelist>
</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
-->