Thanks, this is working great. I think the problem is with the javascript. If I popup this page with javascript, $HTTP_REFERER is empty. This is a poll script. As people vote, it is opening a small popup window to display results. But someone is using this link to create fake votes(althoug IP blocking is set). Now I started to write HTTP_REFERER into a file. At last I captured the address. Because he is not calling it with java!. So is there a way to get HTTP_REFERER when you call the page with a javascript ?
Thanks a lot.