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:
index.php#answer
using $_SERVER['REQUEST_URI'] just returns:
index.php
How can I make it read the #answer at the end as well?