cvs: phpdoc-pt_BR /reference/network/functions gethostbyaddr.xml
[email protected] ("Taniel Silva Franklin")
| Newsgroups | php.doc.pt |
|---|---|
| Message-ID | <cvssurfmax1074312405@cvsserver> |
surfmax Fri Jan 16 23:06:45 2004 EDT
Added files:
/phpdoc-pt_BR/reference/network/functions gethostbyaddr.xml
Log:
new
Index: phpdoc-pt_BR/reference/network/functions/gethostbyaddr.xml
+++ phpdoc-pt_BR/reference/network/functions/gethostbyaddr.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.6 Maintainer: surfmax Status: ready -->
<!-- splitted from ./en/functions/network.xml, last change in rev 1.2 -->
<refentry id="function.gethostbyaddr">
<refnamediv>
<refname>gethostbyaddr</refname>
<refpurpose>
Obtém nome do host de Internet correspondendo ao endereçõ de IP fornecido.
</refpurpose>
</refnamediv>
<refsect1>
<title>Descrição</title>
<methodsynopsis>
<type>string</type><methodname>gethostbyaddr</methodname>
<methodparam><type>string</type><parameter>ip_address</parameter></methodparam>
</methodsynopsis>
<para>
Retorna o nome do host do host de Internet especificado por
<parameter>ip_address</parameter> ou uma string contendo o não modificado
<parameter>ip_address</parameter> em insucesso.
</para>
<para>
<example>
<title>Um simples exemplo de <function>gethostbyaddr</function></title>
<programlisting role="php">
<![CDATA[
<?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
echo $hostname;
?>
]]>
</programlisting>
</example>
</para>
<para>
Veja tabém <function>gethostbyname</function>.
</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
-->