I am using in my php $_SERVER['HTTP_REFERER']
it was working in fine. when i am using http://www.example.com/index.php
but it i am using https://www.example.com/index.php
not working. Can anyone please tell how can overcome this issue?
Asked
Active
Viewed 716 times
1

Sagunthala
- 29
- 2
-
1you found the reply here -> https://stackoverflow.com/questions/12369615/serverhttp-referer-missing – Goikiu Aug 05 '22 at 08:52
-
https://stackoverflow.com/questions/6880659/in-what-cases-will-http-referer-be-empty – ADyson Aug 05 '22 at 08:53
-
1_"it was working in fine"_ - no, it never was. You might just not have encountered or noticed any of the usual problems yet. The HTTP referrer is not _reliable_, and should not be used for any kind of important decision ever. – CBroe Aug 05 '22 at 08:54
-
What are you trying to do with it ? – Rohit Gupta Aug 08 '22 at 01:05