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 of & raquo.
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 & raquo; RFC 1738 to protect the conversion and nature of the transport media that literal characters are interpreted as special URLs separated and protected URLs damaged (such as some email systems ).
Instance
For example, #1 includes an FTP website with a password