logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: http_referer environment variable
Author
kompression



Joined: 25 Apr 2008
Posts: 2

PostPosted: Fri 25 Apr '08 2:50    Post subject: http_referer environment variable Reply with quote

I just installed Apache 2.2 on a Windows XP sp2 box and was using phpinfo() to go through all the environment variables from the Apache install. I couldn't find HTTP_REFERER anywhere and was wondering if there's a config file or module that needs enabling or if this was left out of this version of Apache. Any help is much appreciated.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 25 Apr '08 4:52    Post subject: Reply with quote

you need a referer to come from don't you before env http_referer gets set?
make a page with a link to the page that is using phpinfo(), click the link and see what you get.
Back to top
kompression



Joined: 25 Apr 2008
Posts: 2

PostPosted: Fri 25 Apr '08 6:18    Post subject: Reply with quote

glsmith wrote:
you need a referer to come from don't you before env http_referer gets set?
make a page with a link to the page that is using phpinfo(), click the link and see what you get.


Genius. Thanks alot for the help.
Back to top


Reply to topic   Topic: http_referer environment variable View previous topic :: View next topic
Post new topic   Forum Index -> Apache