urldecodeDecodes URL-encoded string Description
string urldecode
( string
$str
)Decodes any %## encoding in the given string. Plus symbols ('+') are decoded to a space character. Parameters
Return ValuesReturns the decoded string. Examples
Example #1 urldecode example
<?php NotesWarning
The superglobals $_GET and $_REQUEST are already decoded. Using urldecode on an element in $_GET or $_REQUEST could have unexpected and dangerous results. |