
Druckansicht von http://www.php-homepage.de/manual/function.http-build-url.php
http_build_url(PECL pecl_http >= 0.21.0) http_build_url — Build a URL Beschreibung
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. Parameter-Liste
RückgabewerteReturns the new URL as string on successIm Fehlerfall wird FALSE zurückgegeben.. Beispiele
Beispiel #1 A http_build_url() example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: ftp://ftp.example.com/pub/files/current/?a=c Siehe auch
|