sprite 1 sprite 30
functions-online

URL

Execute and test PHP functions for URL handling. Encode, decode or parse URLS as you like.

base64_decode

Decodes a string ($data) encoded with base64_encode().

base64_encode

This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies.

http_build_query

Generates a URL-encoded query string from the associative (or indexed) array provided.

parse_url

This function parses a URL and returns an associative array containing any of the various components of the URL that are present.

rawurldecode

Returns a string in which the sequences with percent (%) signs followed by two hex digits have been replaced with literal characters.

rawurlencode

Encodes the given string according to « RFC 1738 ».

urldecode

Decodes any %## encoding in the given string $str. The string could be encoded with the function urlencode().

urlencode

This function is convenient when encoding a string to be used in a query part of a URL, as a convenient way to pass variables to the next page.