sander Sat Jun 1 05:44:37 2002 EDT
Added files:
/phpdoc-nl/reference/url/functions base64-decode.xml
Removed files:
/phpdoc-nl/reference/url/functions funtion.base64-decode.xml
Modified files:
/phpdoc-nl/reference/url reference.xml
/phpdoc-nl/reference/url/functions base64-encode.xml parse-url.xml
rawurldecode.xml
rawurlencode.xml urldecode.xml
urlencode.xml
Log:
Sync'ed with EN and added revision tags
Index: phpdoc-nl/reference/url/reference.xml
diff -u phpdoc-nl/reference/url/reference.xml:1.2
phpdoc-nl/reference/url/reference.xml:1.3
--- phpdoc-nl/reference/url/reference.xml:1.2 Tue Apr 16 20:03:06 2002
+++ phpdoc-nl/reference/url/reference.xml Sat Jun 1 05:44:37 2002
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- EN-Revision: 1.2 Maintainer: sander Status: ready -->
<reference id="ref.url">
<title>URL Functies</title>
<titleabbrev>URLs</titleabbrev>
Index: phpdoc-nl/reference/url/functions/base64-encode.xml
diff -u phpdoc-nl/reference/url/functions/base64-encode.xml:1.1
phpdoc-nl/reference/url/functions/base64-encode.xml:1.2
--- phpdoc-nl/reference/url/functions/base64-encode.xml:1.1 Sun Apr 14 21:37:45
2002
+++ phpdoc-nl/reference/url/functions/base64-encode.xml Sat Jun 1 05:44:37 2002
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./nl/functions/url.xml, last change in rev 1.1 -->
-<!-- last change to 'base64-encode' in en/ tree in rev 1.2 -->
+<!-- EN-Revision: 1.2 Maintainer: sander Status: ready -->
<refentry id="function.base64-encode">
<refnamediv>
<refname>base64_encode</refname>
- <refpurpose>Encodeerd gegevens met MIME base64</refpurpose>
+ <refpurpose>Encodeert gegevens met MIME base64</refpurpose>
</refnamediv>
<refsect1>
<title>Omschrijving</title>
@@ -26,7 +25,7 @@
Zie ook:
<function>base64_decode</function>,
<function>chunk_split</function>,
- RFC-2045 sectie 6.8.
+ RFC2045 sectie 6.8.
</para>
</refsect1>
</refentry>
Index: phpdoc-nl/reference/url/functions/parse-url.xml
diff -u phpdoc-nl/reference/url/functions/parse-url.xml:1.1
phpdoc-nl/reference/url/functions/parse-url.xml:1.2
--- phpdoc-nl/reference/url/functions/parse-url.xml:1.1 Sun Apr 14 21:37:46 2002
+++ phpdoc-nl/reference/url/functions/parse-url.xml Sat Jun 1 05:44:37 2002
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./nl/functions/url.xml, last change in rev 1.1 -->
-<!-- last change to 'parse-url' in en/ tree in rev 1.2 -->
+<!-- EN-Revision: 1.3 Maintainer: sander Status: ready -->
<refentry id="function.parse-url">
<refnamediv>
<refname>parse_url</refname>
@@ -13,10 +12,53 @@
<methodparam><type>string</type><parameter>url</parameter></methodparam>
</methodsynopsis>
<para>
- This function returns an associative array returning any of the
- various components of the URL that are present. This includes the
- "scheme", "host", "port", "user", "pass", "path", "query", and
- "fragment".
+ Deze functie geeft een associative array terug met daarin de aanwezige
+ delen waaruit de URL is opgebouwd. Dat zijn:
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <structfield>scheme</structfield> - b.v. http
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <structfield>host</structfield>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <structfield>port</structfield>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <structfield>user</structfield>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <structfield>pass</structfield>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <structfield>path</structfield>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <structfield>query</structfield> - na het vraagteken <literal>?</literal>
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <structfield>fragment</structfield> - na het hekje <literal>#</literal>
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+ <para>
+ Zie ook: <function>pathinfo</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc-nl/reference/url/functions/rawurldecode.xml
diff -u phpdoc-nl/reference/url/functions/rawurldecode.xml:1.1
phpdoc-nl/reference/url/functions/rawurldecode.xml:1.2
--- phpdoc-nl/reference/url/functions/rawurldecode.xml:1.1 Sun Apr 14 21:37:46
2002
+++ phpdoc-nl/reference/url/functions/rawurldecode.xml Sat Jun 1 05:44:37 2002
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./nl/functions/url.xml, last change in rev 1.1 -->
-<!-- last change to 'rawurldecode' in en/ tree in rev 1.6 -->
+<!-- EN-Revision: 1.2 Maintainer: sander Status: ready -->
<refentry id="function.rawurldecode">
<refnamediv>
<refname>rawurldecode</refname>
@@ -13,16 +12,21 @@
<methodparam><type>string</type><parameter>str</parameter></methodparam>
</methodsynopsis>
<para>
- Returns a string in which the sequences with percent
- (<literal>%</literal>) signs followed by two hex digits have been
- replaced with literal characters. For example, the string
- <screen>foo%20bar%40baz</screen> decodes into <screen>foo
- bar@baz</screen>.
+ Geeft een string terug waarin de tekenreeks beginnende met een procent
+ teken (<literal>%</literal>) gevolgd door twee hexadecimale cijfers
+ zijn vervangen door de normale tekens. De string
+<screen>foo%20bar%40baz</screen>
+ bijvoorbeeld zal resulteren in <screen>foo bar@baz</screen>.
</para>
+ <note>
+ <para>
+ <function>rawurldecode</function> verandert geen plus-tekens ('+') in
+ spaties. <function>urldecode</function> doet dat wel.
+ </para>
+ </note>
<simpara>
- See also <function>rawurlencode</function>,
- <function>urldecode</function>,
- <function>urlencode</function>.
+ Zie ook: <function>rawurlencode</function>,
+ <function>urldecode</function>,
+ <function>urlencode</function>.
</simpara>
</refsect1>
</refentry>
Index: phpdoc-nl/reference/url/functions/rawurlencode.xml
diff -u phpdoc-nl/reference/url/functions/rawurlencode.xml:1.1
phpdoc-nl/reference/url/functions/rawurlencode.xml:1.2
--- phpdoc-nl/reference/url/functions/rawurlencode.xml:1.1 Sun Apr 14 21:37:46
2002
+++ phpdoc-nl/reference/url/functions/rawurlencode.xml Sat Jun 1 05:44:37 2002
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./nl/functions/url.xml, last change in rev 1.1 -->
-<!-- last change to 'rawurlencode' in en/ tree in rev 1.6 -->
+<!-- EN-Revision: 1.2 Maintainer: sander Status: ready -->
<refentry id="function.rawurlencode">
<refnamediv>
<refname>rawurlencode</refname>
@@ -13,34 +12,38 @@
<methodparam><type>string</type><parameter>str</parameter></methodparam>
</methodsynopsis>
<para>
- Returns a string in which all non-alphanumeric characters except
- <screen>-_.</screen> have been replaced with a percent
- (<literal>%</literal>) sign followed by two hex digits. This is
- the encoding described in RFC1738 for protecting literal
- characters from being interpreted as special URL delimiters, and
- for protecting URL's from being mangled by transmission media
- with character conversions (like some email systems). For
- example, if you want to include a password in an ftp url:
+ Geeft een string terug waarin alle niet alfanumerieke tekens behalve
+ <screen>-_.</screen> zijn vervangen door een procent teken
+ (<literal>%</literal>) gevolgd door twee hexadecimale cijfers.
+ Dit is de encoding die beschreven is in RFC1738 en wordt gebruikt om
+ te voorkomen dat speciale tekens worden geïnterpreteerd als speciale
+ URL-tekens, en om URL's te beschermen tegen verstuurmethoden die sommige
+ tekens converteren (zoals sommige email systemen). Als je bijvoorbeeld
+ een wachtwoord in een ftp url wil plaatsen, doe je dat als volgt:
<example>
- <title><function>rawurlencode</function> example 1</title>
+ <title><function>rawurlencode</function> voorbeeld 1</title>
<programlisting role="php">
-echo '<A HREF="ftp://user:', rawurlencode ('foo @+%/'),
+<![CDATA[
+echo '<a href="ftp://user:', rawurlencode ('foo @+%/'),
'@ftp.my.com/x.txt">';
+]]>
</programlisting>
</example>
- Or, if you pass information in a path info component of the url:
+ Of, als je informatie in een path info gedeelte van de url wil plaatsen:
<example>
<title><function>rawurlencode</function> example 2</title>
<programlisting role="php">
-echo '<A HREF="http://x.com/department_list_script/',
+<![CDATA[
+echo '<a href="http://x.com/department_list_script/',
rawurlencode ('sales and marketing/Miami'), '">';
+]]>
</programlisting>
</example>
</para>
<simpara>
- See also <function>rawurldecode</function>,
- <function>urldecode</function>,
- <function>urlencode</function>.
+ Zie ook: <function>rawurldecode</function>,
+ <function>urldecode</function>,
+ <function>urlencode</function>.
</simpara>
</refsect1>
</refentry>
Index: phpdoc-nl/reference/url/functions/urldecode.xml
diff -u phpdoc-nl/reference/url/functions/urldecode.xml:1.1
phpdoc-nl/reference/url/functions/urldecode.xml:1.2
--- phpdoc-nl/reference/url/functions/urldecode.xml:1.1 Sun Apr 14 21:37:46 2002
+++ phpdoc-nl/reference/url/functions/urldecode.xml Sat Jun 1 05:44:37 2002
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./nl/functions/url.xml, last change in rev 1.1 -->
-<!-- last change to 'urldecode' in en/ tree in rev 1.2 -->
+<!-- EN-Revision: 1.2 Maintainer: sander Status: ready -->
<refentry id="function.urldecode">
<refnamediv>
<refname>urldecode</refname>
- <refpurpose>Decodes URL-encoded string</refpurpose>
+ <refpurpose>Decodeert een URL-gecodeerde string</refpurpose>
</refnamediv>
<refsect1>
<title>Omschrijving</title>
@@ -13,24 +12,26 @@
<methodparam><type>string</type><parameter>str</parameter></methodparam>
</methodsynopsis>
<para>
- Decodes any <literal>%<replaceable>##</replaceable></literal>
- encoding in the given string. The decoded string is returned.
+ Decodeert elke <literal>%<replaceable>##</replaceable></literal>
+ codering in de gegeven string. De gedecodeerde string wordt teruggeven.
<example>
- <title><function>urldecode</function> example</title>
+ <title><function>urldecode</function> voorbeeld</title>
<programlisting role="php">
-$a = split ('&', $querystring);
+<![CDATA[
+$a = split ('&', $querystring);
$i = 0;
-while ($i < count ($a)) {
- $b = split ('=', $a [$i]);
- echo 'Value for parameter ', htmlspecialchars (urldecode ($b [0])),
- ' is ', htmlspecialchars (urldecode ($b [1])), "<BR>";
+while ($i < count ($a)) {
+ $b = split ('=', $a[$i]);
+ echo 'Waarde voor parameter ', htmlspecialchars (urldecode ($b[0])),
+ ' is ', htmlspecialchars (urldecode ($b[1])), "<br />";
$i++;
}
+]]>
</programlisting>
</example>
</para>
<para>
- See also <function>urlencode</function>,
+ Zie ook: <function>urlencode</function>,
<function>rawurlencode</function> en
<function>rawurldecode</function>.
</para>
Index: phpdoc-nl/reference/url/functions/urlencode.xml
diff -u phpdoc-nl/reference/url/functions/urlencode.xml:1.1
phpdoc-nl/reference/url/functions/urlencode.xml:1.2
--- phpdoc-nl/reference/url/functions/urlencode.xml:1.1 Sun Apr 14 21:37:46 2002
+++ phpdoc-nl/reference/url/functions/urlencode.xml Sat Jun 1 05:44:37 2002
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- splitted from ./nl/functions/url.xml, last change in rev 1.1 -->
-<!-- last change to 'urlencode' in en/ tree in rev 1.2 -->
+<!-- EN-Revision: 1.2 Maintainer: sander Status: ready -->
<refentry id="function.urlencode">
<refnamediv>
<refname>urlencode</refname>
- <refpurpose>URL-encodes string</refpurpose>
+ <refpurpose>URL-codeert een string</refpurpose>
</refnamediv>
<refsect1>
<title>Omschrijving</title>
@@ -13,48 +12,55 @@
<methodparam><type>string</type><parameter>str</parameter></methodparam>
</methodsynopsis>
<para>
- Returns a string in which all non-alphanumeric characters except
- <literal>-_.</literal> have been replaced with a percent
- (<literal>%</literal>) sign followed by two hex digits and spaces
- encoded as plus (<literal>+</literal>) signs. It is encoded the
- same way that the posted data from a WWW form is encoded, that is
- the same way as in
+ Geeft een string terug waarin alle niet alfanumerieke tekens behalve
+ <literal>-_.</literal> zijn vervangen door een procent teken
+ (<literal>%</literal>) gevolgd door twee hexadecimale cijfers en spaties
+ gecodeerd als plus-tekens ((<literal>+</literal>). Het is gecodeerd op
+ dezelfde manier als de geposte data van een WWW formulier is gecodeerd,
+ dat is dezelfde manier als in het
<literal>application/x-www-form-urlencoded</literal> media type.
- This differs from the RFC1738 encoding (see
- <function>rawurlencode</function>) in that for historical
- reasons, spaces are encoded as plus (+) signs. This function is
- convenient when encoding a string to be used in a query part of
- an URL, as a convenient way to pass variables to the next page:
+ Dit verschilt van de RFC1738 encoding (zie
+ <function>rawurlencode</function>) in het feit dat, om historische
+ redenen, spaties zijn gecodeerd als plus (+) tekens. Deze functie is
+ handig als je een string moet coderen die moet worden gebruikt in het
+ query-gedeelte van een URL, als een makkelijke manier om variabelen naar
+ een volgende pagina te zenden.
<example>
- <title><function>urlencode</function> example</title>
+ <title><function>urlencode</function> voorbeeld</title>
<programlisting role="php">
-echo '<A HREF="mycgi?foo=', urlencode ($userinput), '">';
+<![CDATA[
+echo '<a href="mycgi?foo=', urlencode($userinput), '">';
+]]>
</programlisting>
</example>
</para>
- <para>Note: Be careful about variables that may match HTML entities.
- Things like &amp, &copy and &pound are parsed by the browser
- and the actual entity is used instead of the desired variable name. This
- is an obvious hassle that the W3C has been telling people about for years.
- The reference is here: <ulink url="&url.argsep;">&url.argsep;</ulink>
- PHP supports changing the argument separator to the W3C-suggested
- semi-colon through the arg_separator .ini directive. Unfortunately most
- user agents do not send form data in this semi-colon separated format.
- A more portable way around this is to use &amp; instead of & as the
- separator. You don't need to change PHP's arg_separator for this. Leave
- it as &, but simply encode your URLs using
<function>htmlentities</function>(urlencode($data)).
+ <para>
+ Opmerking: let op met variabelen die HTML entities kunnen bevatten.
+ Dingen als &amp, &copy en &pount worden geparsed door de
+ browser. Dit is een omslachtigheid waar de W3C al jaren mensen op wijst.
+ Meer informatie is hier: <ulink url="&url.argsep;">&url.argsep;</ulink>.
+ PHP ondersteunt het veranderen van de argument separator in een
+ punt-komma, zoals het W3C dat aanraadt, met de .ini optie arg_separator.
+ Jammer genoeg zenden de meeste user agents form data niet in een
+ punt-komma gescheiden formaat. Een wijder ondersteunde manier is om
+ &amp; te gebruiken in plaats van & als het scheidingsteken.
+ Het is niet nodig om daarvoor PHP's arg_separator aan te passen.
+ Laat het gewoon op & staan, maar codeer je URLs met
+ <function>htmlentities</function>(urlencode($data)).
<example>
- <title><function>urlencode/htmlentities</function> example</title>
+ <title><function>urlencode/htmlentities</function> voorbeeld</title>
<programlisting role="php">
-echo '<A HREF="mycgi?foo=', htmlentities (urlencode ($userinput) ), '">';
+<![CDATA[
+echo '<a href="mycgi?foo=', htmlentities(urlencode($userinput)), '">';
+]]>
</programlisting>
</example>
</para>
<para>
- See also <function>urldecode</function>,
- <function>htmlentities</function>,
- <function>rawurldecode</function>,
-
<function>rawurlencode</function>.
+ Zie ook: <function>urldecode</function>,
+ <function>htmlentities</function>,
+ <function>rawurldecode</function>,
+ <function>rawurlencode</function>.
</para>
</refsect1>
</refentry>
Index: phpdoc-nl/reference/url/functions/base64-decode.xml
+++ phpdoc-nl/reference/url/functions/base64-decode.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.2 Maintainer: sander Status: ready -->
<refentry id="funtion.base64-decode">
<refnamediv>
<refname>base64_decode</refname>
<refpurpose>Decodeert gegevens geëncodeerd met MIME base64</refpurpose>
</refnamediv>
<refsect1>
<title>Omschrijving</title>
<methodsynopsis>
<type>string</type><methodname>base64_decode</methodname>
<methodparam><type>string</type><parameter>encoded_data</parameter></methodparam>
</methodsynopsis>
<para>
<function>base64_decode</function> decodeert
<parameter>encoded_data</parameter> en geeft de originele niet
geëncodeerde gegevens terug. Deze gegevens kunnen binary zijn.
</para>
<para>
Zie ook: <function>base64_encode</function>, RFC2045 sectie
6.8.
</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
-->