cvs: phpdoc-pl /reference/url/functions urlencode.xml
| From: | Leszek Krupinski | Date: | Tue, 01 Jun 2004 01:02:46 +0000 |
| Subject: | cvs: phpdoc-pl /reference/url/functions urlencode.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-343@lists.php.net to get a copy of this message | ||
leszek Mon May 31 21:02:46 2004 EDT
Modified files:
/phpdoc-pl/reference/url/functions urlencode.xml
Log:
[adi] update to rev. 1.7
http://cvs.php.net/diff.php/phpdoc-pl/reference/url/functions/urlencode.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc-pl/reference/url/functions/urlencode.xml
diff -u phpdoc-pl/reference/url/functions/urlencode.xml:1.5
phpdoc-pl/reference/url/functions/urlencode.xml:1.6
--- phpdoc-pl/reference/url/functions/urlencode.xml:1.5 Thu Mar 20 21:04:05 2003
+++ phpdoc-pl/reference/url/functions/urlencode.xml Mon May 31 21:02:46 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.4 Maintainer: adi Status: ready -->
-<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.7 Maintainer: adi Status: ready -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.urlencode">
<refnamediv>
<refname>urlencode</refname>
@@ -30,7 +30,9 @@
<title><function>urlencode</function> przyk³ad</title>
<programlisting role="php">
<![CDATA[
+<?php
echo '<a href="mycgi?foo=', urlencode($userinput), '">';
+?>
]]>
</programlisting>
</example>
@@ -49,13 +51,17 @@
jako separatora zamiast &. Nie musisz zmieniaæ PHP'owego
arg_separator aby to uzyskaæ. Zostaw separator jako &, ale
koduj swoje URL'e u¿ywaj±c
- <function>htmlentities</function>(urlencode($data)).
+ htmlentities(urlencode($data)).
+ </para>
+ <para>
<example>
<title><function>urlencode</function> i
<function>htmlentities</function> przyk³ad</title>
<programlisting role="php">
<![CDATA[
+<?php
echo '<a href="mycgi?foo=', htmlentities(urlencode($userinput)),
'">';
+?>
]]>
</programlisting>
</example>
@@ -63,7 +69,7 @@
<para>
Patrz tak¿e: <function>urldecode</function>,
<function>htmlentities</function>,
- <function>rawurldecode</function> oraz
+ <function>rawurldecode</function> i
<function>rawurlencode</function>.
</para>
</refsect1>