File tree Expand file tree Collapse file tree 23 files changed +253
-258
lines changed
Expand file tree Collapse file tree 23 files changed +253
-258
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 68c2c871505aadf983f16113c5b077b335ce8d76 Maintainer: takagi Status: ready -->
4-
5- <book xml : id =" book.geoip" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3+ <!-- EN-Revision: 9d2fd3237ae1fa758ffc9beb1039110525802d1d Maintainer: takagi Status: ready -->
4+ <book xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" book.geoip" >
65 <?phpdoc extension-membership =" pecl" ?>
76 <title >Geo IP ロケーション</title >
87 <titleabbrev >GeoIP</titleabbrev >
98
109 <preface xml : id =" intro.geoip" >
1110 &reftitle.intro;
12- <para >
11+ <simpara >
1312 GeoIP 拡張モジュールを使用すると、IP アドレスの場所を探すことができます。
1413 市、州、国、経度、緯度そして ISP や接続方式などの情報が
1514 GeoIP を用いて取得できます。
16- </para >
15+ </simpara >
1716 <warning >
18- <para >
17+ <simpara >
1918 この拡張モジュールは、MaxMind の現在の "GeoIP2" データベースをサポートしません。
2019 "GeoIP legacy" データベース・ファイルのみサポートします。
21- </para >
20+ </simpara >
2221 </warning >
2322 </preface >
2423
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 86e6094e86b84a51d00ab217ac50ce8dde33d82a Maintainer: takagi Status: ready -->
4- <appendix xml : id = " geoip.constants " xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3+ <!-- EN-Revision: 9d2fd3237ae1fa758ffc9beb1039110525802d1d Maintainer: takagi Status: ready -->
4+ <appendix xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id = " geoip.constants " >
55 &reftitle.constants;
66 &extension.constants;
77 <variablelist >
127127 </listitem >
128128 </varlistentry >
129129 </variablelist >
130- <para >
130+ <simpara >
131131 以下の定数は、ネット接続のスピードを表します。
132- </para >
132+ </simpara >
133133 <variablelist >
134134 <varlistentry xml : id =" constant.geoip-unknown-speed" >
135135 <term >
136136 <constant >GEOIP_UNKNOWN_SPEED</constant >
137137 (<type >int</type >)
138138 </term >
139139 <listitem >
140- <simpara ></ simpara >
140+ <simpara / >
141141 </listitem >
142142 </varlistentry >
143143 <varlistentry xml : id =" constant.geoip-dialup-speed" >
146146 (<type >int</type >)
147147 </term >
148148 <listitem >
149- <simpara ></ simpara >
149+ <simpara / >
150150 </listitem >
151151 </varlistentry >
152152 <varlistentry xml : id =" constant.geoip-cabledsl-speed" >
155155 (<type >int</type >)
156156 </term >
157157 <listitem >
158- <simpara ></ simpara >
158+ <simpara / >
159159 </listitem >
160160 </varlistentry >
161161 <varlistentry xml : id =" constant.geoip-corporate-speed" >
164164 (<type >int</type >)
165165 </term >
166166 <listitem >
167- <simpara ></ simpara >
167+ <simpara / >
168168 </listitem >
169169 </varlistentry >
170170 </variablelist >
171171</appendix >
172-
173172<!-- Keep this comment at the end of the file
174173Local variables:
175174mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 66458042beed566a850f91dde06a6b8311233ade Maintainer: mumumu Status: ready -->
3+ <!-- EN-Revision: 9d2fd3237ae1fa758ffc9beb1039110525802d1d Maintainer: mumumu Status: ready -->
44<refentry xmlns =" http://docbook.org/ns/docbook" xml : id =" function.geoip-asnum-by-name" >
55 <refnamediv >
66 <refname >geoip_asnum_by_name</refname >
1313 <methodparam ><type >string</type ><parameter >hostname</parameter ></methodparam >
1414 </methodsynopsis >
1515
16- <para >
16+ <simpara >
1717 <function >geoip_asnum_by_name</function > 関数は、
1818 IPアドレスに関連付けられたAS番号(ASN)を返します。
19- </para >
19+ </simpara >
2020
2121 </refsect1 >
2222 <refsect1 role =" parameters" >
2525 <varlistentry >
2626 <term ><parameter >hostname</parameter ></term >
2727 <listitem >
28- <para >
28+ <simpara >
2929 ホスト名またはIPアドレス
30- </para >
30+ </simpara >
3131 </listitem >
3232 </varlistentry >
3333 </variablelist >
3434 </refsect1 >
3535 <refsect1 role =" returnvalues" >
3636 &reftitle.returnvalues;
37- <para >
37+ <simpara >
3838 成功時にはAS番号を返します。
3939 アドレスがデータベースに見つからなかった場合は &false; を返します。
40- </para >
40+ </simpara >
4141 </refsect1 >
4242
4343 <refsect1 role =" examples" >
4444 &reftitle.examples;
4545 <example >
4646 <title ><function >geoip_asnum_by_name</function > の例</title >
47- <para >
47+ <simpara >
4848 この例は、www.example.com のAS番号を出力します。
49- </para >
49+ </simpara >
5050 <programlisting role =" php" >
5151<![CDATA[
5252<?php
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 66458042beed566a850f91dde06a6b8311233ade Maintainer: takagi Status: ready -->
3+ <!-- EN-Revision: 9d2fd3237ae1fa758ffc9beb1039110525802d1d Maintainer: takagi Status: ready -->
44<refentry xmlns =" http://docbook.org/ns/docbook" xml : id =" function.geoip-continent-code-by-name" >
55 <refnamediv >
66 <refname >geoip_continent_code_by_name</refname >
1313 <methodparam ><type >string</type ><parameter >hostname</parameter ></methodparam >
1414 </methodsynopsis >
1515
16- <para >
16+ <simpara >
1717 <function >geoip_continent_code_by_name</function > 関数は、
1818 ホスト名あるいは IP アドレスに対応する二文字の大陸コードを返します。
19- </para >
19+ </simpara >
2020
2121 </refsect1 >
2222 <refsect1 role =" parameters" >
2525 <varlistentry >
2626 <term ><parameter >hostname</parameter ></term >
2727 <listitem >
28- <para >
28+ <simpara >
2929 場所を探す対象となるホスト名あるいは IP アドレス。
30- </para >
30+ </simpara >
3131 </listitem >
3232 </varlistentry >
3333 </variablelist >
3434 </refsect1 >
3535 <refsect1 role =" returnvalues" >
3636 &reftitle.returnvalues;
37- <para >
37+ <simpara >
3838 成功した場合には二文字の大陸コード、
3939 アドレスがデータベースで見つからない場合には &false; を返します。
40- </para >
40+ </simpara >
4141 <table >
4242 <title >大陸コード</title >
4343 <tgroup cols =" 2" >
8585 &reftitle.examples;
8686 <example >
8787 <title ><function >geoip_continent_code_by_name</function > の例</title >
88- <para >
88+ <simpara >
8989 これは、ホスト example.com がどこにあるのかを表示します。
90- </para >
90+ </simpara >
9191 <programlisting role =" php" >
9292<![CDATA[
9393<?php
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 66458042beed566a850f91dde06a6b8311233ade Maintainer: takagi Status: ready -->
3+ <!-- EN-Revision: 9d2fd3237ae1fa758ffc9beb1039110525802d1d Maintainer: takagi Status: ready -->
44<refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" function.geoip-country-code-by-name" >
55 <refnamediv >
66 <refname >geoip_country_code_by_name</refname >
1313 <methodparam ><type >string</type ><parameter >hostname</parameter ></methodparam >
1414 </methodsynopsis >
1515
16- <para >
16+ <simpara >
1717 <function >geoip_country_code_by_name</function > 関数は、
1818 ホスト名あるいは IP アドレスに対応する二文字の国コードを返します。
19- </para >
19+ </simpara >
2020
2121 </refsect1 >
2222 <refsect1 role =" parameters" >
2525 <varlistentry >
2626 <term ><parameter >hostname</parameter ></term >
2727 <listitem >
28- <para >
28+ <simpara >
2929 場所を探す対象となるホスト名あるいは IP アドレス。
30- </para >
30+ </simpara >
3131 </listitem >
3232 </varlistentry >
3333 </variablelist >
3434 </refsect1 >
3535 <refsect1 role =" returnvalues" >
3636 &reftitle.returnvalues;
37- <para >
37+ <simpara >
3838 成功した場合には二文字の ISO 国コード、
3939 アドレスがデータベースで見つからない場合には &false; を返します。
40- </para >
40+ </simpara >
4141 </refsect1 >
4242
4343 <refsect1 role =" examples" >
4444 &reftitle.examples;
4545 <example >
4646 <title ><function >geoip_country_code_by_name</function > の例</title >
47- <para >
47+ <simpara >
4848 これは、ホスト example.com がどこにあるのかを表示します。
49- </para >
49+ </simpara >
5050 <programlisting role =" php" >
5151<![CDATA[
5252<?php
@@ -69,11 +69,11 @@ This host is located in: US
6969 <refsect1 role =" notes" >
7070 &reftitle.notes;
7171 <caution >
72- <para >
72+ <simpara >
7373 戻り値の完全なリストは
7474 <link xlink : href =" &url.maxmind.iso3166; " >&url.maxmind.iso3166; </link >
7575 を参照ください。ここには特別なコードも含まれています。
76- </para >
76+ </simpara >
7777 </caution >
7878 </refsect1 >
7979
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 66458042beed566a850f91dde06a6b8311233ade Maintainer: takagi Status: ready -->
3+ <!-- EN-Revision: 9d2fd3237ae1fa758ffc9beb1039110525802d1d Maintainer: takagi Status: ready -->
44<refentry xmlns =" http://docbook.org/ns/docbook" xml : id =" function.geoip-country-code3-by-name" >
55 <refnamediv >
66 <refname >geoip_country_code3_by_name</refname >
1313 <methodparam ><type >string</type ><parameter >hostname</parameter ></methodparam >
1414 </methodsynopsis >
1515
16- <para >
16+ <simpara >
1717 <function >geoip_country_code3_by_name</function > 関数は、
1818 ホスト名あるいは IP アドレスに対応する三文字の国コードを返します。
19- </para >
19+ </simpara >
2020
2121 </refsect1 >
2222 <refsect1 role =" parameters" >
2525 <varlistentry >
2626 <term ><parameter >hostname</parameter ></term >
2727 <listitem >
28- <para >
28+ <simpara >
2929 場所を探す対象となるホスト名あるいは IP アドレス。
30- </para >
30+ </simpara >
3131 </listitem >
3232 </varlistentry >
3333 </variablelist >
3434 </refsect1 >
3535 <refsect1 role =" returnvalues" >
3636 &reftitle.returnvalues;
37- <para >
37+ <simpara >
3838 成功した場合には三文字の国コード、
3939 アドレスがデータベースで見つからない場合には &false; を返します。
40- </para >
40+ </simpara >
4141 </refsect1 >
4242
4343 <refsect1 role =" examples" >
4444 &reftitle.examples;
4545 <example >
4646 <title ><function >geoip_country_code3_by_name</function > の例</title >
47- <para >
47+ <simpara >
4848 これは、ホスト example.com がどこにあるのかを表示します。
49- </para >
49+ </simpara >
5050 <programlisting role =" php" >
5151<![CDATA[
5252<?php
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 66458042beed566a850f91dde06a6b8311233ade Maintainer: takagi Status: ready -->
3+ <!-- EN-Revision: 9d2fd3237ae1fa758ffc9beb1039110525802d1d Maintainer: takagi Status: ready -->
44<refentry xmlns =" http://docbook.org/ns/docbook" xml : id =" function.geoip-country-name-by-name" >
55 <refnamediv >
66 <refname >geoip_country_name_by_name</refname >
1313 <methodparam ><type >string</type ><parameter >hostname</parameter ></methodparam >
1414 </methodsynopsis >
1515
16- <para >
16+ <simpara >
1717 <function >geoip_country_name_by_name</function > 関数は、
1818 ホスト名あるいは IP アドレスに対応する完全な国名を返します。
19- </para >
19+ </simpara >
2020
2121 </refsect1 >
2222 <refsect1 role =" parameters" >
2525 <varlistentry >
2626 <term ><parameter >hostname</parameter ></term >
2727 <listitem >
28- <para >
28+ <simpara >
2929 場所を探す対象となるホスト名あるいは IP アドレス。
30- </para >
30+ </simpara >
3131 </listitem >
3232 </varlistentry >
3333 </variablelist >
3434 </refsect1 >
3535 <refsect1 role =" returnvalues" >
3636 &reftitle.returnvalues;
37- <para >
37+ <simpara >
3838 成功した場合には国名、
3939 アドレスがデータベースで見つからない場合には &false; を返します。
40- </para >
40+ </simpara >
4141 </refsect1 >
4242
4343 <refsect1 role =" examples" >
4444 &reftitle.examples;
4545 <example >
4646 <title ><function >geoip_country_name_by_name</function > の例</title >
47- <para >
47+ <simpara >
4848 これは、ホスト example.com がどこにあるのかを表示します。
49- </para >
49+ </simpara >
5050 <programlisting role =" php" >
5151<![CDATA[
5252<?php
You can’t perform that action at this time.
0 commit comments