string rawurlencode ( string $str )
Encodes the given string according to » RFC 1738.
[More at php.net]
string $str