Thnx everyone for your replies, i found it all very helpful.
I tried out the $ENV{'HTTP_REFERER'} variable and it returned the calling html file. But what i really desire is the ability to discover what sites ppl are linking from to come to mine. In other words, whats the referer of my index.html. I think i remember reading somewhere about the use of an index.cgi......this could include the $ENV{'HTTP_REFERER'} and would return what im looking for. Can this be called in 'parallel' to index.html, or to put it another way, if i have both index.html and index.cgi in a paricular directory which of the two files is the default for that directory.
Again thanks everyone, and particular thanks to jcwren, who saved my from the per'ls of tripod and its many disabled $ENV values