Answer the question
In order to leave comments, you need to log in
How to get the previous URI?
I work with the analysis of user data on the site. You need to find out which link the user was on before he ended up on the real one. It's not difficult to get a link to which one it is now (I use $_SERVER['REQUEST_URI']), but I don't know how to get a preliminary one.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question