mirror of
https://github.com/php/doc-de.git
synced 2026-03-23 23:02:13 +01:00
157 lines
3.9 KiB
XML
157 lines
3.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: a0ae28d3bc85f927c22649ebd9a590b921534b7d Maintainer: sammywg Status: ready -->
|
|
<!-- Reviewed: yes Maintainer: samesch -->
|
|
<appendix xml:id="url.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<para>
|
|
Die folgenden Konstanten sind für die Nutzung mit
|
|
<function>parse_url</function> vorgesehen.
|
|
</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>
|
|
Gibt den Hostnamen der geparsten URL aus.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-port">
|
|
<term>
|
|
<constant>PHP_URL_PORT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Gibt den Port der geparsten URL aus.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-user">
|
|
<term>
|
|
<constant>PHP_URL_USER</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Gibt den Benutzer der geparsten URL aus.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-pass">
|
|
<term>
|
|
<constant>PHP_URL_PASS</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Gibt das Passwort der geparsten URL aus.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-path">
|
|
<term>
|
|
<constant>PHP_URL_PATH</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Gibt den Pfad der geparsten URL aus.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-query">
|
|
<term>
|
|
<constant>PHP_URL_QUERY</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Gibt den Query-String der geparsten URL aus.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-url-fragment">
|
|
<term>
|
|
<constant>PHP_URL_FRAGMENT</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Gibt das Fragment (Zeichenkette nach der Raute #) der geparsten URL aus.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
<para>
|
|
Die folgenden Konstanten sind für die Verwendung mit
|
|
<function>http_build_query</function> gedacht.
|
|
</para>
|
|
<variablelist>
|
|
<varlistentry xml:id="constant.php-query-rfc1738">
|
|
<term>
|
|
<constant>PHP_QUERY_RFC1738</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Die Kodierung wird gemäß <link xlink:href="&url.rfc;1738">RFC 1738</link>
|
|
und dem Medientyp <literal>application/x-www-form-urlencoded</literal>
|
|
durchgeführt, was impliziert, dass Leerzeichen als Pluszeichen
|
|
(<literal>+</literal>) kodiert werden.
|
|
</simpara>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="constant.php-query-rfc3986">
|
|
<term>
|
|
<constant>PHP_QUERY_RFC3986</constant>
|
|
(<type>int</type>)
|
|
</term>
|
|
<listitem>
|
|
<simpara>
|
|
Die Kodierung wird gemäß <link xlink:href="&url.rfc;3986">RFC 3986</link>
|
|
durchgeführt, und Leerzeichen werden prozentkodiert
|
|
(<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
|
|
-->
|