parse_url

parse_url -- parse a query string like PHP does with form data

Description

array parse_url(string url);

Returns: This function returns an associative array returning any of the various components of the URL that are present. This includes the "scheme", "host", "port", "user", "pass", "path", "query", and "fragment".