Try a try today $ _server ['http_referer']
It turned out to be used across the website, this is good, you can also record it from which place to my website, I don't know if it is not accurate.
Click here to record method: