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!

Search results for query: *

  1. PhillC

    HTTP_REFERER problem

    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...
  2. PhillC

    $ENV{'HTTP-REFERER'} problem

    It is Apache, Coderifous. I'll have a look in the httpd.conf file for any "fun looking lines". In the course of this I finally discovered how the redirect a visitor using PHP so, if I can't crack the perl problem, and if I can find out how to get the referer in PHP, I'll do it in PHP...
  3. PhillC

    $ENV{'HTTP-REFERER'} problem

    Hi Jim, Thanks for answering so quickly. I cringed when you mentioned the hyphen and underscore :) $ref = $ENV{'HTTP_REFERER'}; $usr = $ENV{'HTTP_USER_AGENT'}; That's copied from the script I'm using, so it was ok. After that, I simply print $ref and $usr to a file. $ref prints ok but $usr...
  4. PhillC

    $ENV{'HTTP-REFERER'} problem

    Hi, I need to check the referer of site visitors and I can't get HTTP-REFERER to yield any information at all. I've even copied and pasted code from perl.com which lists all the $ENV variables and their contents. Everything seems to work ok but still HTTP-REFERER reveals nothing. I know that...

Part and Inventory Search

Back
Top