Answer the question
In order to leave comments, you need to log in
How to get the parameter?
How to use php to get parameters from a link like site.ru#parameter1=value1¶meter2=value2 ???
It's not GET, so it would be like this $_GET['parameter1']...
They are not even retrieved as GET parameters
There is not a question mark, but a # sign
Answer the question
In order to leave comments, you need to log in
How to get parameters from a link like site.ru# using php
If not through JS, then no way.
The browser never sends a hash value to the server at the time of the request.
If with JS: window.location.hash
and then put the data in the GET/POST/etc request.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question