Online parse_url( ) function


mixed parse_url ( string $url )
This function parses a URL and returns an associative array containing any of the various components of the URL that are present. The values of the array elements are not URL decoded.