PHP: rawurlencode - Manual - PHP: Hypertext Preprocessor
PHP's functions rawurlencode() and urlencode(), both encode the whole argument parameter string, making the result useless as a valid link. The function listed here encodes a link string (e.g. http://www.domain.com/long_path/to\file.php?query=param#fr...