cvs: phpdoc /en/reference/tcpwrap configure.xml reference.xml /en/reference/tcpwrap/functions tcpwrap-check.xml

From: Date: Mon, 09 Feb 2004 12:00:11 +0000
Subject: cvs: phpdoc /en/reference/tcpwrap configure.xml reference.xml /en/reference/tcpwrap/functions tcpwrap-check.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358858@lists.php.net to get a copy of this message
mg Mon Feb 9 07:00:11 2004 EDT Added files: /phpdoc/en/reference/tcpwrap configure.xml reference.xml /phpdoc/en/reference/tcpwrap/functions tcpwrap-check.xml Log: Add tcpwrap documentation. http://cvs.php.net/co.php/phpdoc/en/reference/tcpwrap/configure.xml?r=1.1&p=1 Index: phpdoc/en/reference/tcpwrap/configure.xml +++ phpdoc/en/reference/tcpwrap/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="tcpwrap.installation"> &reftitle.install; <para> Tcpwrap is currently available through PECL <ulink url="&url.pecl.package;tcpwrap">&url.pecl.package;tcpwrap</ulink>. </para> <para> If <ulink url="&url.php.pear;">PEAR</ulink> is available on your *nix-like system you can use the pear installer to install the tcpwrap extension, by the following command: <command>pear -v install tcpwrap</command>. </para> <para> You can always download the tar.gz package and install tcpwrap by hand: <example> <title>tcpwrap install by hand</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/en/reference/tcpwrap/reference.xml?r=1.1&p=1 Index: phpdoc/en/reference/tcpwrap/reference.xml +++ phpdoc/en/reference/tcpwrap/reference.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --> <reference id="ref.tcpwrap"> <title>TCP Wrappers Functions</title> <titleabbrev>TCP Wrappers</titleabbrev> <partintro> <section id="tcpwrap.intro"> &reftitle.intro; <para> The TCP wrappers provides a classical unix mechanism which has been designed to check if the remote client is able to connect from the given IP address. </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/en/reference/tcpwrap/functions/tcpwrap-check.xml?r=1.1&p=1 Index: phpdoc/en/reference/tcpwrap/functions/tcpwrap-check.xml +++ phpdoc/en/reference/tcpwrap/functions/tcpwrap-check.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. --> <refentry id="function.tcpwrap-check"> <refnamediv> <refname>tcpwrap_check</refname> <refpurpose> tcpwrap check </refpurpose> </refnamediv> <refsect1> <title>Description</title> <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> This function consults /etc/hosts.allow and /etc/hosts.deny files to check if access to service <parameter>daemon</parameter> should be granted or denied for client with remote address <parameter>address</parameter> (and optional username <parameter>user</parameter>). <parameter>address</parameter> can be either IP address or domain name. <parameter>user</parameter> can be &null;. </para> <para> If <parameter>address</parameter> looks like domain name then DNS is used to resolve it to IP address; set <parameter>nodns</parameter> to &true; to avoid this. </para> <para> For more details please consult hosts_access(3) man page. </para> <para> This function returns &true; if access should be granted, &false; otherwise. </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 -->

« previous php.doc (#969358858) next »