+<p>Build an URL.</p>
+<p>Expexts (part(s) of) an URL as first parameter in form of a string or assoziative array<br />
+like parse_url() returns. Accepts an optional second parameter in the same way as the<br />
+first argument. Accepts an optional third integer parameter, which is a bitmask of<br />
+binary or'ed HTTP_URL_* constants. The optional fourth parameter will be filled<br />
+with the results as associative array like parse_url() would return.</p>
+<p>The parts of the second URL will be merged into the first according to the flags argument.<br />
+The following flags are recognized:</p><pre> - HTTP_URL_REPLACE: (default) set parts of the second url will replace the parts in the first<br />
+ - HTTP_URL_JOIN_PATH: the path of the second url will be merged into the one of the first<br />
+ - HTTP_URL_JOIN_QUERY: the two querystrings will be merged naivly; no replacements are done<br />
+ - HTTP_URL_STRIP_USER: the user part will not appear in the result<br />
+ - HTTP_URL_STRIP_PASS: the password part will not appear in the result<br />
+ - HTTP_URL_STRIP_AUTH: neither the user nor the password part will appear in the result<br />
+ - HTTP_URL_STRIP_PORT: no explicit port will be set in the result<br />
+ - HTTP_URL_STRIP_PATH: the path part will not appear in the result<br />
+ - HTTP_URL_STRIP_QUERY: no query string will be present in the result<br />
+ - HTTP_URL_STRIP_FRAGMENT: no fragment will be present in the result<br />
+</pre></p>
+<p>Example:</p><pre><blockquote><code><span style="color: #000000"><br />
+<span style="color: #0000BB"><?php<br /> </span><span style="color: #FF8000">// ftp://ftp.example.com/pub/files/current/?a=b&a=c<br /> </span><span style="color: #007700">echo </span><span style="color: #0000BB">http_build_url</span><span style="color: #007700">(</span><span style="color: #DD0000">"http://user@www.example.com/pub/index.php?a=b#files"</span><span style="color: #007700">,<br /> array(<br /> </span><span style="color: #DD0000">"scheme" </span><span style="color: #007700">=> </span><span style="color: #DD0000">"ftp"</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">"host" </span><span style="color: #007700">=> </span><span style="color: #DD0000">"ftp.example.com"</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">"path" </span><span style="color: #007700">=> </span><span style="color: #DD0000">"files/current/"</span><span style="color: #007700">,<br /> </span><span style="color: #DD0000">"query" </span><span style="color: #007700">=> </span><span style="color: #DD0000">"a=c"<br /> </span><span style="color: #007700">),<br /> </span><span style="color: #0000BB">HTTP_URL_STRIP_AUTH </span><span style="color: #007700">| </span><span style="color: #0000BB">HTTP_URL_JOIN_PATH </span><span style="color: #007700">| </span><span style="color: #0000BB">HTTP_URL_JOIN_QUERY </span><span style="color: #007700">| </span><span style="color: #0000BB">HTTP_URL_STRIP_FRAGMENT<br /> </span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?></span><br />
+</span></code></blockquote></p>
+<p></pre><br />
+Returns the new URL as string on success or FALSE on failure.</p>