parse_url

PHP -> Funkcie -> URL funkcie PHP -> parse_url

Syntax

array parse_url(string url);

Popis

Príkaz jazyka PHP
parse_url - parse a URL and return its components

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".