Hi,
I'm trying to get the http referer, but as yet, have not been able to. So far I have tried these:
$ENV{HTTP_REFERER}
$ENV{HTTP_REFERRER}
As yet, I have only been able to get my address from the variable, or nothing. Even when I follow a link pointing to my site from another site. How in the world do you get the referer address via perl???
I'm wanting this so that I can see where visitors are comming from. If there accessing the site directly, I would expect the the veriable to be blank, but if there following a link from another site, then there should be something in the variable, and that should be there refering site, not my site. Sure, one can fake this, but I doubt all sites (even google) would be faking this. Perhaps there is simply some other veriable that I'm over looking.