mirror of
https://github.com/php/doc-ja.git
synced 2026-03-23 22:52:11 +01:00
153 lines
4.0 KiB
XML
153 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: a0ae28d3bc85f927c22649ebd9a590b921534b7d Maintainer: takagi Status: ready -->
|
|
<appendix xml:id="url.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<para>
|
|
以下の定数は <function>parse_url</function> で使用するものです。
|
|
</para>
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.php-url-scheme">
|
|
<term>
|
|
<constant>PHP_URL_SCHEME</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-host">
|
|
<term>
|
|
<constant>PHP_URL_HOST</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パースした URL のホスト名を出力します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-port">
|
|
<term>
|
|
<constant>PHP_URL_PORT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パースした URL のポート番号を出力します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-user">
|
|
<term>
|
|
<constant>PHP_URL_USER</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パースした URL のユーザー名を出力します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-pass">
|
|
<term>
|
|
<constant>PHP_URL_PASS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パースした URL のパスワードを出力します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-path">
|
|
<term>
|
|
<constant>PHP_URL_PATH</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パースした URL のパスを出力します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-query">
|
|
<term>
|
|
<constant>PHP_URL_QUERY</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パースした URL のクエリ文字列を出力します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-fragment">
|
|
<term>
|
|
<constant>PHP_URL_FRAGMENT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
パースした URL のフラグメント (# 以降の文字列) を出力します。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<para>
|
|
以下の定数は、
|
|
<function>http_build_query</function> で利用するものです。
|
|
</para>
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.php-query-rfc1738">
|
|
<term>
|
|
<constant>PHP_QUERY_RFC1738</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<link xlink:href="&url.rfc;1738">RFC 1738</link> と
|
|
<literal>application/x-www-form-urlencoded</literal> メディアタイプに基づくエンコーディングを行います。
|
|
つまり、スペースはプラス記号 (<literal>+</literal>) にエンコードされます。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-query-rfc3986">
|
|
<term>
|
|
<constant>PHP_QUERY_RFC3986</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
<link xlink:href="&url.rfc;3986">RFC 3986</link> に基づくエンコーディングを行います。
|
|
スペースはパーセントエンコードされて、<literal>%20</literal> となります。
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</appendix>
|
|
|
|
<!-- 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:"~/.phpdoc/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
|
|
-->
|