I would like to show visitors IP address when they visit my website. I am hoping this will help alieviate some of the problems I am having by those that think they can hide their IP by coming to my site via annoymous sites and such for the purpose of cyber squatting on my website for hours at a time and using up my bandwidth or attempting to hack it.
Does anyone know of a script that uncovers their actual IP address, like what I find in my access log? I want it to come up on my website for them to see when they visit. I’m thinking if they see they aren’t masking their ID, maybe they’ll stop??? htaccess files don’t work for this purpose as their IP changes each time they come on so I can’t keep them out. But I am thinking this way, if they see that I know their IP right away and am logging it…well, maybe they’ll go cause trouble somewhere else? Maybe it will help. Thanks.