mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix various problems
# and now, time for bed git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237335 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
295e3a2ce8
commit
f13c4b5a01
3 changed files with 33 additions and 31 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.23 $ -->
|
||||
<!-- $Revision: 1.24 $ -->
|
||||
<refentry id="function.dns-get-record">
|
||||
<refnamediv>
|
||||
<refname>dns_get_record</refname>
|
||||
|
@ -311,16 +311,16 @@ Array
|
|||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
<simpara>
|
||||
Since it's very common to want the IP address of a mail server
|
||||
once the MX record has been resolved, <function>dns_get_record</function>
|
||||
also returns an array in <parameter>addtl</parameter> which
|
||||
contains associate records. <parameter>authns</parameter>
|
||||
is returned as well containing a list of authoritative name
|
||||
servers.
|
||||
</simpara>
|
||||
<example>
|
||||
<title>Using <function>dns_get_record</function> and DNS_ANY</title>
|
||||
<para>
|
||||
Since it's very common to want the IP address of a mail server
|
||||
once the MX record has been resolved, <function>dns_get_record</function>
|
||||
also returns an array in <parameter>addtl</parameter> which
|
||||
contains associate records. <parameter>authns</parameter>
|
||||
is returned as well containing a list of authoritative name
|
||||
servers.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.header">
|
||||
<refnamediv>
|
||||
<refname>header</refname>
|
||||
|
@ -213,22 +213,24 @@ header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
|
|||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
<note>
|
||||
<para>
|
||||
You may find that your pages aren't cached even if you don't
|
||||
output all of the headers above. There are a number of options
|
||||
that users may be able to set for their browser that change its
|
||||
default caching behavior. By sending the headers above, you should
|
||||
override any settings that may otherwise cause the output of your
|
||||
script to be cached.
|
||||
</para>
|
||||
<para>
|
||||
Additionally, <function>session_cache_limiter</function> and
|
||||
the <literal>session.cache_limiter</literal> configuration
|
||||
setting can be used to automatically generate the correct
|
||||
caching-related headers when sessions are being used.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
<note>
|
||||
<para>
|
||||
You may find that your pages aren't cached even if you don't
|
||||
output all of the headers above. There are a number of options
|
||||
that users may be able to set for their browser that change its
|
||||
default caching behavior. By sending the headers above, you should
|
||||
override any settings that may otherwise cause the output of your
|
||||
script to be cached.
|
||||
</para>
|
||||
<para>
|
||||
Additionally, <function>session_cache_limiter</function> and
|
||||
the <literal>session.cache_limiter</literal> configuration
|
||||
setting can be used to automatically generate the correct
|
||||
caching-related headers when sessions are being used.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<refentry id="function.openlog">
|
||||
<refnamediv>
|
||||
<refname>openlog</refname>
|
||||
|
@ -57,26 +57,26 @@
|
|||
<row>
|
||||
<entry><constant>LOG_CONS</constant></entry>
|
||||
<entry>
|
||||
if there is an error while sending data to the system <constant>LOGger,
|
||||
if there is an error while sending data to the system logger,
|
||||
write directly to the system console
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>LOG_NDELAY</constant></entry>
|
||||
<entry>
|
||||
open the connection to the <constant>LOGger immediately
|
||||
open the connection to the logger immediately
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>LOG_ODELAY</constant></entry>
|
||||
<entry>
|
||||
(default) delay opening the connection until the first
|
||||
message is <constant>LOGged
|
||||
message is logged
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>LOG_PERROR</constant></entry>
|
||||
<entry>print <constant>LOG message also to standard error</entry>
|
||||
<entry>print log message also to standard error</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><constant>LOG_PID</constant></entry>
|
||||
|
|
Loading…
Reference in a new issue