Unfortunatly the perl enviroment for HTTP_REFER gets the address of the page that called the script rather than the site the user found the link to my site on. Is there way to change this? Or is there a way to pass the real HTTP_REFFER to the CGI program?