I was wondering if it is possible to grab the URL from which the page was accessed? For example, let's say if I have an index.php file. Access to it is possible from almost anywhere, depending on where I placed it. For instance:
- http:
- http:
Anyway, can I find out where the page was available from? I would like to parse this url, and if it were from nicefolder1, I would like to do something like echo "That was a good location to be executed from": D! Just what I was interested in ...
source
share