|
http_build_urlBuild a URL Description
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. Parameters
Return Values
Returns the new URL as string on success or Examples
Example #1 A http_build_url example
<?php The above example will output: ftp://ftp.example.com/pub/files/current/?a=c See Also
|