From 0633d9dd37340b26ab9a082d6c9ca55f09b84d26 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Mon, 7 Aug 2000 16:07:02 +0000 Subject: [PATCH] Missing sort title in filepro, and moving rawurl* func to a better place (I think...) Hope there won't be any problem with line breaks... git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@29826 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filepro.xml | 2 ++ functions/strings.xml | 70 ------------------------------------ functions/url.xml | 82 +++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 82 insertions(+), 72 deletions(-) diff --git a/functions/filepro.xml b/functions/filepro.xml index 70fbd061d9..edb61339ce 100644 --- a/functions/filepro.xml +++ b/functions/filepro.xml @@ -1,5 +1,7 @@ filePro functions + filePro + These functions allow read-only access to data stored in filePro databases. diff --git a/functions/strings.xml b/functions/strings.xml index eb5f350cc5..4ae75f8453 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1267,76 +1267,6 @@ echo $second[1]; /* prints "another" */ - - - rawurldecode - Decode URL-encoded strings - - - Description - - - string rawurldecode - string str - - - - Returns a string in which the sequences with percent - (%) signs followed by two hex digits have been - replaced with literal characters. For example, the string - foo%20bar%40baz decodes into foo - bar@baz. - - - See also rawurlencode. - - - - - - - rawurlencode - URL-encode according to RFC1738 - - - Description - - - string rawurlencode - string str - - - - Returns a string in which all non-alphanumeric characters except - -_. have been replaced with a percent - (%) 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: - - <function>Rawurlencode</function> example 1 - -echo '<A HREF="ftp://user:', rawurlencode ('foo @+%/'), - '@ftp.my.com/x.txt">'; - - - Or, if you pass information in a path info component of the url: - - <function>Rawurlencode</function> example 2 - -echo '<A HREF="http://x.com/department_list_script/', - rawurlencode ('sales and marketing/Miami'), '">'; - - - - - See also rawurldecode. - - - - rtrim diff --git a/functions/url.xml b/functions/url.xml index cc4f8c973d..95d0ad249e 100644 --- a/functions/url.xml +++ b/functions/url.xml @@ -80,6 +80,80 @@ + + + rawurldecode + Decode URL-encoded strings + + + Description + + + string rawurldecode + string str + + + + Returns a string in which the sequences with percent + (%) signs followed by two hex digits have been + replaced with literal characters. For example, the string + foo%20bar%40baz decodes into foo + bar@baz. + + + See also rawurlencode, + urldecode, + urlencode. + + + + + + + rawurlencode + URL-encode according to RFC1738 + + + Description + + + string rawurlencode + string str + + + + Returns a string in which all non-alphanumeric characters except + -_. have been replaced with a percent + (%) 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: + + <function>Rawurlencode</function> example 1 + +echo '<A HREF="ftp://user:', rawurlencode ('foo @+%/'), + '@ftp.my.com/x.txt">'; + + + Or, if you pass information in a path info component of the url: + + <function>Rawurlencode</function> example 2 + +echo '<A HREF="http://x.com/department_list_script/', + rawurlencode ('sales and marketing/Miami'), '">'; + + + + + See also rawurldecode, + urldecode, + urlencode. + + + + urldecode @@ -111,7 +185,9 @@ while ($i < count ($a)) { - See also urlencode. + See also urlencode, + rawurlencode, + rawurldecode. @@ -150,7 +226,9 @@ echo '<A HREF="mycgi?foo=', urlencode ($userinput), '">'; - See also urldecode. + See also urldecode, + rawurldecode, + rawurlencode.