Phprawurlencode and rawurldecode tutorial. Phprawurlencode and rawurldecode tutorial rawurldecode (PHP4, PHP5) rawurldecode-decode URL encoding string description string rawurldecode (string $ str) returns a php rawurlencode and rawurldecode tutorial
Rawurldecode
(PHP 4 and PHP 5)
Rawurldecode-decodes a URL encoded string
Description
String rawurldecode (string $ str)
Returns a string in which two hexadecimal numbers are replaced with facial characters after the signs of the percent sign (%.
Parameters
Str
Decode the URL.
Return value
Returns the decoded URL as a string.
Instance
Example #1 rawurldecode ()
Rawurlencode
(PHP 4 and PHP 5)
Rawurlencode-URL encoding according to RFC 1738
Description
String rawurlencode (string $ str)
Encode a specific string according to RFC 1738.
Parameters
Str
Encode the URL.
Return value
Returns all non-alphanumeric characters in a string -_. It is replaced with a percent sign (%) followed by two hexadecimal numbers. This is the encoding description» RFC 1738 protects the conversion and nature of the transmitted media (such as some email systems) of URLs that are separated and protected by special URLs ).
Instance
For example, #1 includes an FTP website with a password
Http://www.bkjia.com/PHPjc/445455.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/445455.htmlTechArticlephp rawurlencode with rawurldecode tutorial rawurldecode (PHP 4, PHP 5) rawurldecode-decoded URL encoded string description string rawurldecode (string $ str) returns a word...