I was wondering if this is possible: I have a button on "page #1" and when clicking on it, it redirects me to /test.php file.
I would like to echo the full url of the website I was redirected from ("Page #1") to /test.php file.
I have tried $_SERVER['HTTP_REFERER'] and some other ways to that I have found from Google, but still no luck. Which raises the question, whether this is possible or not, since PHP is server-sided?
Thanks in advance