This question already has an answer here:
- Can I read the hash portion of the URL on my server-side application (PHP, Ruby, Python, etc.)? 13 answers
I have a URL
http://localhost/ifocus/v3/services.php#nav-section2
I want to get hashtags from URL, EX : if the URL contains "#" so capture it via PHP
nav-section2
When i do
echo $_SERVER['REQUEST_URI'];
// Output
/ifocus/v3/services.php