Is there a way to get the entire URL used to request the current page, including the anchor (the text after the
# – I may be using the wrong word), in included pages?
i.e. page foo.php is included in bar.php. If I use your solution in foo.php, I need it to say