standard.net.curl.curl_escape

curl_escape is available since version 1.0.

Prototype:

string curl_escape(string url)

Parameters

url
the url

Description:

URL encodes the given string.
This function will convert the given input string to an URL encoded string and return that as a new allocated string. All input characters that are not a-z, A-Z or 0-9 will be converted to their "URL escaped" version (%NN where NN is a two-digit hexadecimal number).

Return value:

Returns the encoded url.