cvs: phpdoc-ja /reference/tcpwrap .cvsignore configure.xml reference.xml /reference/tcpwrap/functions tcpwrap-check.xml
| From: | TAKAGI Masahiro | Date: | Sat, 20 Aug 2005 20:24:51 +0000 |
| Subject: | cvs: phpdoc-ja /reference/tcpwrap .cvsignore configure.xml reference.xml /reference/tcpwrap/functions tcpwrap-check.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-1147@lists.php.net to get a copy of this message | ||
takagi Sat Aug 20 16:24:51 2005 EDT
Added files:
/phpdoc-ja/reference/tcpwrap .cvsignore configure.xml reference.xml
/phpdoc-ja/reference/tcpwrap/functions tcpwrap-check.xml
Log:
added japanese manual.
http://cvs.php.net/co.php/phpdoc-ja/reference/tcpwrap/.cvsignore?r=1.1&p=1
Index: phpdoc-ja/reference/tcpwrap/.cvsignore
+++ phpdoc-ja/reference/tcpwrap/.cvsignore
functions.xml
http://cvs.php.net/co.php/phpdoc-ja/reference/tcpwrap/configure.xml?r=1.1&p=1
Index: phpdoc-ja/reference/tcpwrap/configure.xml
+++ phpdoc-ja/reference/tcpwrap/configure.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->
<section id="tcpwrap.installation">
&reftitle.install;
<para>
Tcpwrap ã¯ãç¾å¨ã¯ PECL
<ulink
url="&url.pecl.package;tcpwrap">&url.pecl.package;tcpwrap</ulink>
ã§åå¾ã§ãã¾ãã
</para>
<para>
*nix ç³»ã®ã·ã¹ãã ä¸ã§ <ulink
url="&url.php.pear;">PEAR</ulink> ãæå¹ãª
å ´åã¯ãpear ã¤ã³ã¹ãã¼ã©ãç¨ã㦠tcpwrap
æ¡å¼µã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ãã
ãã¨ãå¯è½ã§ãããã®å ´åã¯ä»¥ä¸ã®ãããªã³ãã³ããå
¥åãã¾ãã
<command>pear -v install tcpwrap</command>
</para>
<para>
tar.gz ããã±ã¼ã¸ããã¦ã³ãã¼ãããtcpwrap
ãæåã§ã¤ã³ã¹ãã¼ã«ãããã¨ã
å¯è½ã§ãã
<example>
<title>tcpwrap ã®æåã¤ã³ã¹ãã¼ã«</title>
<programlisting role="shell">
<![CDATA[
gunzip tcpwrap-xxx.tgz
tar -xvf tcpwrap-xxx.tar
cd tcpwrap-xxx
phpize../configure && make && make install
]]>
</programlisting>
</example>
</para>
</section>
<!-- 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
-->
http://cvs.php.net/co.php/phpdoc-ja/reference/tcpwrap/reference.xml?r=1.1&p=1
Index: phpdoc-ja/reference/tcpwrap/reference.xml
+++ phpdoc-ja/reference/tcpwrap/reference.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->
<reference id="ref.tcpwrap">
<title>TCP ã©ãã颿°ï¼TCP Wrappersï¼</title>
<titleabbrev>TCP Wrappers</titleabbrev>
<partintro>
<section id="tcpwrap.intro">
&reftitle.intro;
<para>
TCP ã©ããã¯ãå¤å
¸ç㪠unix
ã®ã¡ã«ããºã ãæä¾ãã¾ããããã¯
ãªã¢ã¼ãã¯ã©ã¤ã¢ã³ããæå®ãã IP
ã¢ãã¬ã¹ããæ¥ç¶ã§ãããã©ããã
調ã¹ãããã«è¨è¨ããã¦ãã¾ãã
</para>
</section>
&reference.tcpwrap.configure;
</partintro>
&reference.tcpwrap.functions;
</reference>
<!-- 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
-->
http://cvs.php.net/co.php/phpdoc-ja/reference/tcpwrap/functions/tcpwrap-check.xml?r=1.1&p=1
Index: phpdoc-ja/reference/tcpwrap/functions/tcpwrap-check.xml
+++ phpdoc-ja/reference/tcpwrap/functions/tcpwrap-check.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
<refentry id="function.tcpwrap-check">
<refnamediv>
<refname>tcpwrap_check</refname>
<refpurpose>tcpwrap
ã®ãã§ãã¯ãå®è¡ãã</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>tcpwrap_check</methodname>
<methodparam><type>string</type><parameter>daemon</parameter></methodparam>
<methodparam><type>string</type><parameter>address</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>user</parameter></methodparam>
<methodparam
choice="opt"><type>bool</type><parameter>nodns</parameter></methodparam>
</methodsynopsis>
<para>
ãã®é¢æ°ã¯ <filename>/etc/hosts.allow</filename>
ããã³
<filename>/etc/hosts.deny</filename>
ã®å
容ããã¨ã«ãããã¯ã©ã¤ã¢ã³ãã
<parameter>daemon</parameter>
ãµã¼ãã¹ã¸ã®ã¢ã¯ã»ã¹ã許å¯ããã¦ããã
å¦ãã調ã¹ã¾ãã
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>daemon</parameter></term>
<listitem>
<para>
ãµã¼ãã¹ã®ååã
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>address</parameter></term>
<listitem>
<para>
ã¯ã©ã¤ã¢ã³ãã®ãªã¢ã¼ãã¢ãã¬ã¹ãIP
ã¢ãã¬ã¹ãããã¯ãã¡ã¤ã³åã®
ã©ã¡ãã§ãæå®å¯è½ã
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>user</parameter></term>
<listitem>
<para>
ã¦ã¼ã¶åï¼ãªãã·ã§ã³ï¼ã
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>nodns</parameter></term>
<listitem>
<para>
<parameter>address</parameter>
ããã¡ã¤ã³åã®å ´åãããã IP
ã¢ãã¬ã¹ã«åå解決ããããã« DNS
ã使ç¨ããã¾ãã
<parameter>nodns</parameter> ã &true;
ã«æå®ããã¨ããã®å¦çã
ç¦æ¢ãã¾ãã
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
ã¢ã¯ã»ã¹ã許å¯ããã¦ããå ´åã«
&true; ããã以å¤ã®å ´åã« &false;
ãè¿ãã¾ãã
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>ãã¼ã«ã«ãã¹ãããã®å
¨æ¥ç¶ãæå¦ãã</title>
<para>
/etc/hosts.deny
ãã¡ã¤ã«ã«ä»¥ä¸ã®è¡ãå«ã¾ãã¦ããã
</para>
<screen>
<![CDATA[
php: 127.0.0.1
]]>
</screen>
<para>
以ä¸ã®ãããªã³ã¼ããå®è¡ãã
</para>
<programlisting role="php">
<![CDATA[
<?php
if (!tcpwrap_check('php', $_SERVER['REMOTE_ADDR'])) {
die('You are not welcome here');
}
?>
]]>
</programlisting>
</example>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
è©³ç´°ãªæ
å ±ã¯ãhosts_access(3) ã® man
ãã¼ã¸ãåç
§ãã ããã
</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
-->