How to know if someone is using a proxy to access my website

Asked

Viewed 429 times

0

With the PHP language can I know if the user is using a proxy to camouflage his real IP? I’m talking about these proxys here -> http://www.freeproxylists.net/

  • 1

    If you are lucky check if there is a X-Forwarded-For and the X-Client-IP, if there is it is using proxy. If not you have some techniques, one of it is to know if the IP is a proxy, as you mentioned yourself. If someone connects to one of the Ips on that list they’re using proxy, then use $_SERVER['REMOTE_ADDR'], normally and compare with the list of proxies.

  • I just checked here, I’m using proxy and nothing pointed, afs q lie. Will in other language this is more effective?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.