Hi,
I'm trying to access the HTTP_REFERER environmental variable. I've tried with Perl and with PHP3. With both languages I ran scripts to list all the environmental variables and in both cases, the HTTP_REFERER was not listed. Other variables such as HTTP_USER_AGENT were there but not the referer.
I've also been testing by storing visitor user-agents and referers in a file. The visitors, including me, arrive by clicking on search engine listings and the referers are passed on because they appear in the log file. I just can't access them by using Perls $ENV array or PHP's equivalent.
I think there must be a problem somewhere in the Apache configuration. I've looked through the httpd.conf file for any 'likely' lines but didn't find any.
If anyone has any ideas, or can point me in the right direction, I'd very much appreciate it.
Phil.
I'm trying to access the HTTP_REFERER environmental variable. I've tried with Perl and with PHP3. With both languages I ran scripts to list all the environmental variables and in both cases, the HTTP_REFERER was not listed. Other variables such as HTTP_USER_AGENT were there but not the referer.
I've also been testing by storing visitor user-agents and referers in a file. The visitors, including me, arrive by clicking on search engine listings and the referers are passed on because they appear in the log file. I just can't access them by using Perls $ENV array or PHP's equivalent.
I think there must be a problem somewhere in the Apache configuration. I've looked through the httpd.conf file for any 'likely' lines but didn't find any.
If anyone has any ideas, or can point me in the right direction, I'd very much appreciate it.
Phil.