PHP 忒聊
綴豖
ヶ輛
rawurlencode
(PHP 3, PHP 4)
Description
Returns a string in which all non-alphanumeric characters except
-_.
瞰赽 1. rawurlencode() 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:
瞰赽 2. rawurlencode() example 2
echo 'a href="http://x.com/department_list_script/', rawurlencode('sales and marketing/Miami'), '"';
See also rawurldecode(), urldecode(), urlencode() and RFC 1738
綴豖
れ萸
ヶ輛
rawurldecode
奻珨撰
urldecode