I want to get the current page URL with parameters in PHP
the URL is
http://localhost/omni/abc.php#def=S6ZT4b9MEsFGDzo
I want to get the url part after the # sign
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Anything after the
#in a URL is only handled on the client-side. It is not even passed to the request to the server, so there is no way you can directly access it.