hi,
i have a java applet, whose code is available for other sites to use. it reads in the text file and displays the news text on the client side. the text file resides on my server.
i want to check who is actually reading this text file. e.g. if abc.com/index.htm is reading it, then i would like it to output the customised colour scheme for abc.com
or if its xyz.com/main.htm then go for xyz.com's settings.
i tried using $HTTP_REFERER, but that doesnt give me anything, i am wondering if i am putting down the wrong syntax for it:
e.g.
if ($HTTP_REFERER == 'http://www.abc.com/index.htm') {
// do abc's customized output
}
else .. etc..
can anyone help me please?
regards,
Daarius ...