$_SERVER['REQUEST_URI'] doesn't work when #text at the end of url
<p>I know $_SERVER['REQUEST_URI'] works in getting the current page's url, but it leaves out the #post at the end of the url.  I like to use the #blah at the end to make the page scroll to a certain point. Example:</p>

<pre><code>index.php#answer
</code></pre>

<p>using $_SERVER['REQUEST_URI'] just returns:</p>

<pre><code>index.php
</code></pre>

<p>How can I make it read the #answer at the end as well?</p>
