How can i catch the current full url including the # sign when it is in it?
My url looks like this: http://example.com/spf#users/admin
When using this code:
$url = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
echo $url;
he outputs this only: http://example.com/spf It should also catch the #users/admin behind it