cvs: phpdoc-zh /reference/url/functions parse-url.xml rawurlencode.xml
| From: | Xiao shengwen | Date: | Thu, 14 Jul 2005 17:28:28 +0000 |
| Subject: | cvs: phpdoc-zh /reference/url/functions parse-url.xml rawurlencode.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2049@lists.php.net to get a copy of this message | ||
yincheng Thu Jul 14 13:28:28 2005 EDT
Modified files:
/phpdoc-zh/reference/url/functions parse-url.xml rawurlencode.xml
Log:
up to en
http://cvs.php.net/diff.php/phpdoc-zh/reference/url/functions/parse-url.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/url/functions/parse-url.xml
diff -u phpdoc-zh/reference/url/functions/parse-url.xml:1.1
phpdoc-zh/reference/url/functions/parse-url.xml:1.2
--- phpdoc-zh/reference/url/functions/parse-url.xml:1.1 Wed Nov 26 07:42:13 2003
+++ phpdoc-zh/reference/url/functions/parse-url.xml Thu Jul 14 13:28:27 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: nio $ -->
-<!-- EN-Revision: 1.8 Maintainer: nio Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.9 Maintainer: nio Status: ready -->
<!-- splitted from ./en/functions/url.xml, last change in rev 1.2 -->
<refentry id="function.parse-url">
<refnamediv>
@@ -72,7 +72,7 @@
<example>
<title><function>parse_url</function> ʾÀý</title>
<screen>
-$ php -r 'print_r( parse_url("http://username:password@hostname/path?arg=value#anchor"));'
+$ php -r 'print_r(parse_url("http://username:password@hostname/path?arg=value#anchor"));'
Array
(
[scheme] => http
@@ -84,7 +84,7 @@
[fragment] => anchor
)
-$ php -r 'print_r( parse_url("http://invalid_host..name/"));'
+$ php -r 'print_r(parse_url("http://invalid_host..name/"));'
Array
(
[scheme] => http
http://cvs.php.net/diff.php/phpdoc-zh/reference/url/functions/rawurlencode.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-zh/reference/url/functions/rawurlencode.xml
diff -u phpdoc-zh/reference/url/functions/rawurlencode.xml:1.1
phpdoc-zh/reference/url/functions/rawurlencode.xml:1.2
--- phpdoc-zh/reference/url/functions/rawurlencode.xml:1.1 Wed Nov 26 07:42:13 2003
+++ phpdoc-zh/reference/url/functions/rawurlencode.xml Thu Jul 14 13:28:28 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="gb2312"?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Author: nio $ -->
-<!-- EN-Revision: 1.6 Maintainer: nio Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: yincheng $ -->
+<!-- EN-Revision: 1.7 Maintainer: nio Status: ready -->
<!-- splitted from ./en/functions/url.xml, last change in rev 1.6 -->
<refentry id="function.rawurlencode">
<refnamediv>
@@ -30,7 +30,7 @@
<![CDATA[
<?php
echo '<a href="ftp://user:',
rawurlencode('foo @+%/'),
- '@ftp.my.com/x.txt">';
+ '@ftp.example.com/x.txt">';
?>
]]>
</programlisting>
@@ -45,7 +45,7 @@
<programlisting role="php">
<![CDATA[
<?php
-echo '<a href="http://x.com/department_list_script/',
+echo '<a href="http://example.com/department_list_script/',
rawurlencode('sales and marketing/Miami'), '">';
?>
]]>