Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

http_referer?

Status
Not open for further replies.

litton1

Technical User
Apr 21, 2005
584
GB
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

Binary Intelligence, true or false?
 
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.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
i see thanks, i thought i had include a mod,:-(
i am using php so i will just test if it has been set. thanks for your time

Binary Intelligence, true or false?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top