http_build_url

 string http_build_url ([ mixed $url [, mixed $parts [, int $flags = HTTP_URL_REPLACE [, array &$new_url ]]]] ) 

説明

Build a URL. The parts of the second URL will be merged into the first according to the flags argument.

戻り値

Returns the new URL as string on success or FALSE on failure.