How to know if your website is being viewed through a proxy ?
Let's say for some reason you want to ban proxies. You can't be adding their IPs all the time as they can change.
There must be a fool proof way to detect proxies and redirect them away from yuor site.
And so, how would you do it ?
Let me know if my way is fool proof or not.
I think we should detect if any of these are set or not (if(ISSET()) somehow:
I mean, the visitor should not be coming via a server but a browser. If via a server then that means the server is a proxy. Right ?
But how to achieve the checking ?