I am trying to pass some parameters after # in the url like http://developer.rohitkhatri.com/test.php#embed=sdkhfjshdkfhhjk
, But I don't know how to access it, I tried many solution from the stackoverflow, here are some examples what I've tried:
$_SERVER['REQUEST_URI']
gives me /test.php
$_SERVER['QUERY_STRING']
gives empty string
$_SERVER['HTTP_REFERER']
gives empty string
also tried printing the whole $_SERVER
array but I did not find anything useful.
Any help is appreciated.