oceanbear
04-10-2004, 07:05 PM
I am trying to note where a visitor comes from when they arrive at my site - wanting to give credit where it is due and also for curiosity.
I thought the way to do this was to look at the CGI HTTP_REFERER variable.
My first attempt failed because I realized (duh) that my index.html is picked up without my really ever knowing it. The first time someone clicks on something HTTP_REFERER says that they came from MY site (of course).
So then I tried replacing my index.html with a direct CGI call to my server and THEN looked at it. But alas - there was nothing in the variable.
How does one get a hold of this information?
I thought the way to do this was to look at the CGI HTTP_REFERER variable.
My first attempt failed because I realized (duh) that my index.html is picked up without my really ever knowing it. The first time someone clicks on something HTTP_REFERER says that they came from MY site (of course).
So then I tried replacing my index.html with a direct CGI call to my server and THEN looked at it. But alas - there was nothing in the variable.
How does one get a hold of this information?