i would like to use http_referer with php but it is not in my phpinfo() output. i am using Suse 9.2. any ideas how i can turn it on?
thanks in advance T
There's nothing to turn on to make $_SERVER['HTTP_REFERER'] work. The data is either there or not.
The data will not be there for two major reasons. The first is that there is no referer. If you go to your script my directly typing the URL of the script into your browser, there is no referer, so the value will not be available.
The second reason for the value's not being available is that the value will only be there if it is reported by the user's browser. Many browsers can be configured to not report the referer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.