Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 703d980c580707c382b4e43e25965bc5 > files > 11972

php-manual-pt_BR-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>GeoIP Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Manual do PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Referência das Funções"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="unregister_tick_function"
HREF="function.unregister-tick-function.html"><LINK
REL="NEXT"
TITLE="geoip_country_code_by_name"
HREF="function.geoip-country-code-by-name.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual do PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.unregister-tick-function.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.geoip-country-code-by-name.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.geoip"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>XLVIII. GeoIP Functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN59269"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="geoip.intro"
>Introdução</A
></H1
><P
>&#13;     The GeoIP extension allows you to find the location of an IP address. City,
     State, Country, Longitude, Latitude, and other information as all, such as 
     ISP and connection type can be obtained with the help of GeoIP.
   </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="geoip.requirements"
>Dependências</A
></H1
><P
>&#13;    This extension requires the GeoIP C library version 1.4.0 or higher to be
    installed. You can grab the latest version from
    <A
HREF="http://www.maxmind.com/app/c"
TARGET="_top"
>http://www.maxmind.com/app/c</A
> 
    and compile it yourself.
   </P
><P
>&#13;    By default, you will only have access to the Free GeoIP Country or GeoLite 
    City databases. While this module can work with other types of database,
    you must buy a commercial license from
    <A
HREF="http://www.maxmind.com/"
TARGET="_top"
>Maxmind</A
>.
   </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="geoip.installation"
>Instalação</A
></H1
><P
>&#13;    Esta estensão <A
HREF="http://pecl.php.net"
TARGET="_top"
>PECL</A
>
 não vem compilada com o PHP.
   </P
><P
>&#13;    Informações para a instalação desta extensão PECL
 podem ser encontradas no manual no capitulo entitulado <A
HREF="install.pecl.html"
>Instalação
 de extensões PECL</A
>. Informações adicionais como novas versões,
 downloads, arquivos fontes, manutenções, e um Changelog, podem ser
 obtidos aqui: 
    <A
HREF="http://pecl.php.net/package/geoip"
TARGET="_top"
>http://pecl.php.net/package/geoip</A
>.
   </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="geoip.resources"
>Tipos Resource</A
></H1
><P
>Esta extensão não possui nenhum tipo resource.</P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="geoip.constants"
>Constantes pré-definidas</A
></H1
><P
>&#13;As contantes abaixo são definidas por esta extensão e somente
 estarão disponíveis quando a extensão foi compilada com o PHP
 ou carregada dinamicamente durante a execução.
</P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><TT
CLASS="constant"
><B
>GEOIP_COUNTRY_EDITION</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_REGION_EDITION_REV0</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_CITY_EDITION_REV0</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_ORG_EDITION</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_ISP_EDITION</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_CITY_EDITION_REV1</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_REGION_EDITION_REV1</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_PROXY_EDITION</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_ASNUM_EDITION</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_NETSPEED_EDITION</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_DOMAIN_EDITION</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
>&#13;
    </P
></DD
></DL
></DIV
><P
>&#13;   The following constants are for net speed:
 </P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><TT
CLASS="constant"
><B
>GEOIP_UNKNOWN_SPEED</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_DIALUP_SPEED</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_CABLEDSL_SPEED</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>GEOIP_CORPORATE_SPEED</B
></TT
>
     (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Índice</B
></DT
><DT
><A
HREF="function.geoip-country-code-by-name.html"
>geoip_country_code_by_name</A
>&nbsp;--&nbsp;Get the two letter country code</DT
><DT
><A
HREF="function.geoip-country-code3-by-name.html"
>geoip_country_code3_by_name</A
>&nbsp;--&nbsp;Get the three letter country code</DT
><DT
><A
HREF="function.geoip-country-name-by-name.html"
>geoip_country_name_by_name</A
>&nbsp;--&nbsp;Get the full country name</DT
><DT
><A
HREF="function.geoip-database-info.html"
>geoip_database_info</A
>&nbsp;--&nbsp;Get GeoIP Database information</DT
><DT
><A
HREF="function.geoip-id-by-name.html"
>geoip_id_by_name</A
>&nbsp;--&nbsp;Get the Internet connection speed</DT
><DT
><A
HREF="function.geoip-org-by-name.html"
>geoip_org_by_name</A
>&nbsp;--&nbsp;Get the organization name</DT
><DT
><A
HREF="function.geoip-record-by-name.html"
>geoip_record_by_name</A
>&nbsp;--&nbsp;Returns the detailed City information found in the GeoIP Database</DT
><DT
><A
HREF="function.geoip-region-by-name.html"
>geoip_region_by_name</A
>&nbsp;--&nbsp;Get the country code and region</DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.unregister-tick-function.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Principal</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.geoip-country-code-by-name.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>unregister_tick_function</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>geoip_country_code_by_name</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>