V
V
Vitaly2018-02-21 22:17:31
PHP
Vitaly, 2018-02-21 22:17:31

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

2 answer(s)
S
Sherzod Axmedov, 2018-02-21
@iamaxmedovv256

How to get parameters from a link like site.ru# using php

Answer: no way

X
xmoonlight, 2018-02-21
@xmoonlight

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.hashand then put the data in the GET/POST/etc request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question