Luinrandir Hernson wrote:: open(A,">>/home/thx-1138/cgi-bin/data/refs.htm");
: print A "$ENV{'HTTP_REFERRER'}\n";
: close (A);
: 
: The file opens, prints a return/linefeed and closes...
: 
: any ideas why this wont work???
: it looks correct to me from what i have read.

Two thoughts:

* The env variable is actually spelled HTTP_REFERER (which is wrong,
  but that's how it's spelled)

* The browser may not be passing a referer. Sometimes they don't; some
  agents, like a lot of robots, never do.

-- tdk

Reply via email to