So I have come across a couple php snippets that will detect if proxy is being used now I would like to know does anyone know of a script that will detect if one is being used and somehow break the proxy url and give them access to the main site?

Not an important issue more for curiosity at this point.