urldecode - Decodes URL encoded string
string urldecode ( string $str )
$str - The url string to be decoded
Returns the decoded string. Plus symbols (+) are decoded to a space character.
<?php
$str = 'url+decode';
echo "http://example.com/?param=" . urldecode( $str );
?>
http://example.com/?param=url encode