get whole url with # in php
- by Prashant
Hello all.
I want to get the whole url from address bar, along with #, if any, using php.
say for eg. my url is http://test.com/#/test
Using $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] I am getting only http://test.com. ie everything after # is stripped off. If it is not possible with php, suggest me how to do it using javascript. Please help me out.
Thanks.