Get Full URL with PHP & Include Subdomain
<p>I have been using the following to discover the full url, but it does not detect the subdomain I am calling from. </p>

<pre><code>$current_url = "http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]."";
echo $current_url;EXIT;
</code></pre>

<p>Any advice?</p>
