Answer the question
In order to leave comments, you need to log in
How to get full URL in PHP?
Hello! How can I get the full url in PHP? Displayed the $_SERVER array, but not everything is there. I also need what is after #, i.e. should be like this:
http://www.site.ru/page#abc
Is it possible to do it in PHP or in some other way on the server and then you can work in PHP?
On JS I know how to get it, but it's not desirable to send it to the server.
Answer the question
In order to leave comments, you need to log in
that after # exists only in the browser, and is not transmitted to the server in any way.
the only option is to receive js'om and send it as a parameter to the server. there are no other options. from the word at all.
and if you have a problem with that, I have bad news for you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question